0

I am using fluentbit to send kubernetes logs to ELK , i have set the level to error but still it sends all the log msgs to ELK , How can I configure fluentbit to send msgs that correspond to some error only.

Ijaz Ahmad
  • 11,198
  • 9
  • 53
  • 73

1 Answers1

0

In official documentation for Kubernetes filter there is an example about how to make your Pod suggest a parser for your data based in an annotation: Fluent Bit Filters.

Under certain and not common conditions, a user would want to alter that hard-coded regular expression, for that purpose the option Regex_Parser can be used Fluent Bit Regex.

Useful article: Fluent Bit Article.

Malgorzata
  • 6,409
  • 1
  • 10
  • 27