Regex support in Match for Filter plugings #7679
-
Hi all, This is my current configuration and it works as expected (i.e. logs that match these tags are getting throttled).
I tried to modify this so that this filter is not applied if
But looks like this isn't working (i.e. none of the logs are getting throttled) My questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found the answer TIL: there is a key named Source: https://docs.fluentbit.io/manual/v/1.3/configuration/file My modified config
Thanks to Anurag Gupta for pointing to this in Fluentbit Slack. |
Beta Was this translation helpful? Give feedback.
Found the answer
TIL: there is a key named
Match_Regex
and it works in all the places whereMatch
can be used.Match
only support * as a wildcardMatch_Regex
supports whole regexSource: https://docs.fluentbit.io/manual/v/1.3/configuration/file
My modified config
Thanks to Anurag Gupta for pointing to this in Fluentbit Slack.