-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Agent] Inject index with sane defaults to configuration #16903
Changes from 5 commits
139e44e
677736e
85920bc
c31e69c
bde7801
4c33759
8883b1f
f920dfb
e6885b3
c5bd054
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,16 @@ outputs: | |
username: elastic | ||
password: changeme | ||
|
||
streams: | ||
- type: event/file | ||
enabled: true | ||
paths: | ||
- /var/log/hello1.log | ||
- /var/log/hello2.log | ||
datasources: | ||
- namespace: default | ||
use_output: default | ||
inputs: | ||
- type: system/metrics | ||
streams: | ||
- metricset: cpu | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Had a quick chat with @michalpristas about this on Slack. The problem here is that this will send data to |
||
- metricset: memory | ||
- metricset: network | ||
- metricset: filesystem | ||
|
||
management: | ||
# Mode of management, the agent support two modes of operation: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,16 @@ outputs: | |
username: elastic | ||
password: changeme | ||
|
||
streams: | ||
- type: event/file | ||
enabled: true | ||
paths: | ||
- /var/log/hello1.log | ||
- /var/log/hello2.log | ||
datasources: | ||
- namespace: default | ||
use_output: default | ||
inputs: | ||
- type: system/metrics | ||
streams: | ||
- metricset: cpu | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lets add a few more here like memory, disk. |
||
- metricset: memory | ||
- metricset: network | ||
- metricset: filesystem | ||
|
||
management: | ||
# Mode of management, the agent support two modes of operation: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is weird?