I am aware of some software packages that can monitor system logs using tail, however one of the main reasons I am using rsyslog is to have the web interface/searching of the logs. I would like to set up a system where I am alerted/emailed when various expressions are found in the logs.
How can this be done with rsyslog using a MySQL DB as storage? I dont want to have to write to both a DB and plaintext files, as this is wasteful. I am sure a perl/php script could be written and put in crontab every n-minutes to search for expressions in the DB, however this would get increasingly taxing as the syslog db grows...
SO....the enmd question is, is there some kind of change to rsyslog out there, which would allow for realtime monitoring and alerting of the messages passing *though* rsyslog? Thanks


