destination err-update-dns { file("/dev/null"); };
filter err-update-dns { match("(
59.167.232.229)"); };
log {source(shell); filter(err-update-dns); destination(err-update-dns); };
destination d_mysql {
pipe("/tmp/mysql.pipe"
template("INSERT INTO logs (host, facility, priority, level, tag, date, time, program, msg) VALUES ( '$HOST', '$FACILITY', '$PRIORITY', '$LEVEL', '$TAG', '$YEAR-$MONTH-$DAY', '$HOUR:$MIN:$SEC', '$PROGRAM', '$MSG' );\n") template-escape(yes)); };
log { source(shell); destination(d_mysql); };