File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Fluent Bit offers the following processors:
1919- [ OpenTelemetry Envelope] ( opentelemetry-envelope.md ) : Transform logs into an
2020 OpenTelemetry-compatible format.
2121- [ SQL] ( sql.md ) : Use SQL queries to extract log content.
22+ - [ Filters] ( filters.md ) : Any filter can be used as a processor.
2223
2324## Features
2425
Original file line number Diff line number Diff line change 1+ # Filters
2+
3+ Any Fluent Bit [ filters] ( ../../filters/README.md ) can be used as a processor.
4+
5+ ## grep example
6+
7+ In this example the grep filter is used as an output processor to send Log records only if they match a regular expression.
8+
9+ {% tabs %}
10+ {% tab title="fluent-bit.yaml" %}
11+
12+ ``` yaml
13+ pipeline :
14+ inputs :
15+ - name : tail
16+ path : lines.txt
17+ parser : json
18+ outputs :
19+ - name : stdout
20+ match : ' *'
21+ processors :
22+ logs :
23+ - name : grep
24+ regex : log aa
25+ ` ` `
26+
27+ {% endtab %}
28+ {% endtabs %}
You can’t perform that action at this time.
0 commit comments