A newbie question: Is it possible to use values matching a regular
expression in a comparison?

Imagine I receive messges like this: "disk usage of /dev/sdb2 is 60%",
"disk usage of /dev/sda3 is 80%", etc. All match the regular expression
"disk usage of [/a-zA-Z0-9]* is [0-9]*%". I do not want to log all these
messages, but only those where disk usage is at least 75 per cent.
Can this be achieved by proper configuration?
Where to look in the documentation?

Thank you
Roland

 

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to