Hello,
I have deployed Filebeat 6.8.1 in docker container, filebeat sends all the corrected data but the MESSAGE field is missing.
The input configuration is:
- type: log
paths:- '/var/lib/docker/containers//.log'
json.message_key: log
json.keys_under_root: true
enabled: true
encoding: utf-8
fields:
type: docker_filebeat_log
environment: production
processors: - add_docker_metadata: ~
- '/var/lib/docker/containers//.log'
I tried also with input docker, in this case I have the message field but I no longer have the TIME field.
The input configuration is:
- type: docker
containers.ids: '*'
encoding: utf-8
enabled: true
exclude_files: ['.gz$']
fields:
type: docker_filebeat_log
environment: production
processors:- add_docker_metadata: ~
Can you help me solve one of the two cases?
Thanks
Daniele