Forum Discussion

Gill_32697's avatar
Gill_32697
Icon for Nimbostratus rankNimbostratus
Mar 08, 2016

remote sys logging failover messages

im not getting failover messgaes to remote syslog. Im needing some but not core messages like a failover. Below is my script... ! sys syslog { auth-priv-from notice auth-priv-to emerg console-log enabled cron-from warning cron-to emerg daemon-from notice daemon-to emerg description none include " filter f_custom { (level(notice) and match(\"Pool /Common/\") or match (\"Virtual /Common/\")) or level(warning..emerg) ; };

 

filter f_remote_loghost { level(debug..emerg) and not (facility(local6) and level(info) and match('[ssl_acc\]')) and not (facility(local6) and level(info) and match('[ssl_req\]')); };

 

destination d_loghost { udp(\"10.240.240.47\" port(514)); udp(\"10.234.52.150\" port(514)); }; log { source(s_syslog_pipe); filter(f_custom); destination(d_loghost); };" iso-date disabled kern-from notice kern-to emerg local6-from notice local6-to emerg mail-from notice mail-to emerg messages-from notice messages-to warning remote-servers none user-log-from notice user-log-to emerg }

 

No RepliesBe the first to reply