I am currently using ELK 5.5. It appears document_type is now deprecated in Filebeats, but I could not find any example anywhere as to how to implement the same now.
This is what I get in my log:
WARN DEPRECATED: document_type is deprecated. Use fields instead.
This is my current filebeat configuration:
- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
paths:
- C:\inetpub\logs\LogFiles\*\*
document_type: iislog
paths:
- C:\MyApp\logs\*
document_type: applog
Can someone tell me how to rewrite my log when using the same Version 5.5 and get rid of this deprecation message. BTW, I do want to use the same ES index for both "document types".