Hello,

 

I am using 8.24 in CentOS 7.

 

How do I exclude ip addresses from being logged?

 

I tried this ..

 

#Ignore the 170.235.1.248 and 170.235.1.249 A 10 Load balancer health
checks

if $fromhost-ip=='170.235.1.248' then
/dev/null/%FROMHOST-IP%/%syslogfacility-text%.log-I-I/%FROMHOST

if $fromhost-ip=='170.235.1.249' then
/dev/null/%FROMHOST-IP%/%syslogfacility-text%.log-I-I/%FROMHOST

 

and

 

#Ignore the 170.235.1.248 and 170.235.1.249 A 10 Load balancer health
checks

if $fromhost-ip=='170.235.1.248' then /dev/null/

if $fromhost-ip=='170.235.1.249' then /dev/null/

 

 

to no avail.

 

These are load balancer health checks clogging up my logs.

 

 

 

===========================

Thank You;

Chris Cheltenham
Technology Services
The School District of Philadelphia

Work # 215-400-5025
Cell # 215-301-6571 

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to