diff options
Diffstat (limited to 'templates/syslog-ng.conf_squeeze.erb')
-rw-r--r-- | templates/syslog-ng.conf_squeeze.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/syslog-ng.conf_squeeze.erb b/templates/syslog-ng.conf_squeeze.erb index 39cec76..5780889 100644 --- a/templates/syslog-ng.conf_squeeze.erb +++ b/templates/syslog-ng.conf_squeeze.erb @@ -49,6 +49,7 @@ destination df_facility_dot_crit { file("/var/log/$FACILITY.crit"); }; ## generic filters and rewrites # strip IP addresses +# regexp thanks to micah and dsyslog rewrite r_strip {subst("(25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9])([\\.\\-](25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9])){3}", "0.0.0.0", value("MESSAGE"), flags("global"));}; filter f_at_least_info { level(info..emerg); }; |