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.
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.