Filters as processors

You can use any filter as a processor in Fluent Bit.

Only YAML configuration files support processors.

Grep example

In this example, the Grep filter is an output processor that sends log records only if they match a specified regular expression.

pipeline:
  inputs:
    - name: tail
      path: lines.txt
      parser: json

  outputs:
    - name: stdout
      match: '*'

      processors:
        logs:
          - name: grep
            regex: log aa

Last updated

Was this helpful?