fluentd - fluent-plugin-grep: grep A or B than -


we using fluent-plugin-grep: how filter looks like

<filter **>   @type grep   regexp1 level error </filter> 

how have change filter when want filter on level error or fatal? (so not error)?

you can use or pattern in regeular expression. try following configuration.

<filter test.**>   @type grep   regexp1 level (error|fatal) </filter> 

Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

c# - Get the Class name in a class with atribute inside a attribute method -

javascript - Why Selenium can't find an element that is graphically visible -