Hi, i want to use filebeat send message to elasticsearch directly. And i use processors as a filter to drop some useless fields. But when i check message from kibana only half messages drop fields. And i only run one filebeat. so is there have some solutions to let all messages drop fields.
here is my filebeat.yml
filebeat.prospectors:
- type: log
enabled: true
paths:
- h:\log\*
filebeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
setup.template.settings:
index.number_of_shards: 3
output.elasticsearch:
hosts: ["localhost:9200"]
processors:
- drop_fields:
fields: ["offset", "_score", "_version","beat"]
And the pic of my kibana:
what's more, can i decode the json in the "message"
?
i have try- decode_json_fields:
but it didn't work