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

generating document_type=log by default when fields hash present #169

Open
sasubillis opened this issue May 24, 2018 · 0 comments
Open

generating document_type=log by default when fields hash present #169

sasubillis opened this issue May 24, 2018 · 0 comments

Comments

@sasubillis
Copy link

sasubillis commented May 24, 2018

When I use the following prospector section in the manifest file
filebeat::prospector { 'syslog': paths => [ '/var/log/messages','/var/log/secure' ], fields_under_root => true, fields => {'type' => 'syslog'}, }
the generated filebeat prospector config has got document_type: log which is not required.
and filebeat log still complaining about document_type
2018-05-24T00:20:11Z WARN DEPRECATED: document_type is deprecated. Use fields instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant