An event match is a Fluent Bit output-selection pattern that determines which tagged events an output receives. The CLI applies it with -m after declaring the output with -o. section 2.1.3
Use event matches to control which events reach an output:
- Use the wildcard * to send all tagged events to the output. section 2.1.3
- Quote the wildcard in shell scripts so the shell does not interpret it; direct console commands can omit the quotes. section 2.1.3
Send every event to stdout
Run `fluent-bit -q -i dummy -p dummy="{\"hello\":\"my world\"}" -t dummy1 -o stdout -m '*'`. The dummy input receives tag `dummy1`, and the stdout output matches every event. section 2.1.3
Listing 2.1 Command-line-configured Fluent BIt
fluent-bit -q -i dummy -p dummy="{\"hello\":\"my world\"}" -t dummy1
-o stdout -m '*'
Inspect the complete command-line configuration showing an output connected to a wildcard event match. section 2.1.3
