Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use config spec #5979

Merged
merged 6 commits into from
Mar 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions hive/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Hive
files:
- name: hive.yaml
options:
- template: init_config
options:
- template: init_config/jmx
- template: init_config/default
- template: instances
options:
- template: instances/jmx
AlexandreYang marked this conversation as resolved.
Show resolved Hide resolved
overrides:
host.description: HiveServer2 or Hive Metastore JMX host to connect to.
port.value.example: 8809
port.description: HiveServer2 or Hive Metastore JMX port to connect to.
- template: instances/default
- template: logs
example:
- type: file
path: /tmp/<USER>/hive.log
source: hive
sourcecategory: database
service: <SERVICE_NAME>
log_processing_rules:
- type: multi_line
name: new_log_start_with_date
pattern: \d{4}\-\d{2}\-\d{2}
Loading