Hi all,
i tried to write data into a DB with a selector
in rsyslog.conf:
...
!dhcpd
$template test, "...",sql
:msg, contains, "dinfo" >127.0.0.1,db,user,pw;test
#eof
one of the messages, which rsyslog is like:
2008-03-03 14:14.20 dhcpd : dinfo:, myipadress and mac
So from my point of view the selector should write this message to the DB.
BUT it doesn`t.
If i replace the selector e.g. with *.info it works (but then all
message are written to the DB)
Thanks for your support
Andre
i tried to write data into a DB with a selector
in rsyslog.conf:
...
!dhcpd
$template test, "...",sql
:msg, contains, "dinfo" >127.0.0.1,db,user,pw;test
#eof
one of the messages, which rsyslog is like:
2008-03-03 14:14.20 dhcpd : dinfo:, myipadress and mac
So from my point of view the selector should write this message to the DB.
BUT it doesn`t.
If i replace the selector e.g. with *.info it works (but then all
message are written to the DB)
Thanks for your support
Andre