Example filebeat configuration used.
filebeat.inputs:
- type: stdin
json.keys_under_root: true
processors: - drop_event:
when:
!java.util.LinkedHashMap
or:
- !java.util.LinkedHashMap
equals: !java.util.LinkedHashMap
exclude: Hello - !java.util.LinkedHashMap
equals: !java.util.LinkedHashMap
exclude2: Hello Testing
- drop_fields:
fields: ["input","offset","log","@metadata","host","beat","prospector","source"]
output.console:
pretty: false