Dealy in sending logs with fielbeat 8.12.1 with multiple exclusion filters are enabled

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