Is it possible to run a shell script if a specified string is found in rsyslog 5.8.11?
I couldn't find any examples so I tried this but it doesn't work:
$Template MyAlert,":msg"
:msg, contains, "ThisIsAnErrorMessage" ~
*.* ^/script.sh;MyAlert
Can someone give me an idea?