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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -