-
Notifications
You must be signed in to change notification settings - Fork 20
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 filestream input instead of deprecated log #69
Conversation
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 we have to document both filebeat <7.16 with the log
input and filebeat >= 7.16 with the filestream
input because bumping filebeat may not be easy.
docs/tab-widgets/filebeat.asciidoc
Outdated
@@ -7,7 +7,7 @@ | |||
.filebeat.yaml | |||
---- | |||
filebeat.inputs: | |||
- type: log | |||
- type: filestream | |||
paths: /path/to/logs.json | |||
json.keys_under_root: true |
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.
filestream
doesn't have the same syntax for the json tricks.
it looks like
- type: filestream
paths: /path/to/logs.json
parsers:
- ndjson:
keys_under_root: true
overwrite_keys: true
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.
Thanks, I've added two sections now. I've also added instructions for adding metadata processors. LMKWYT.
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.
MAny thanks @felixbarny
Fixes #67