Hello, I am trying to filter only specific remote rsyslog hosts to send the data to my ommysql database. Currently the following configuration directive produces an error :
*.*:fromhost-ip, isequal, "xx.xx.xx.xx" :ommysql:127.0.0.1,Syslog,loguser,logpassword The errors I get : rsyslogd: unknown priority name "*:fromhost-ip" [try http://www.rsyslog.com/e/3000 ] rsyslogd: the last error occured in /etc/rsyslog.conf, line 143:"*.*:fromhost-ip, isequal, "xx.xx.xx.xx" :ommysql:127.0.0.1,Syslog,loguser,logpassword " rsyslogd: warning: selector line without actions will be discarded rsyslogd: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ] There is nothing in the rsyslog manual pages that specify exactly HOW you can go about doing this. I just want to filter out specific hosts from sending the syslog data to my mysql database. Any help is greatly appreciated! Thanks, Kevin _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

