Forum Discussion

Jason_10493's avatar
Jason_10493
Icon for Nimbostratus rankNimbostratus
Nov 19, 2008

Stategy to filter BIG-IP health monitor GETs from Apache/Tomcat logs?

Hi All,

 

 

I was wondering what other people do to filter out the health monitor GET requests from the Apache/Tomcat logs?

 

 

Two BIG-IPs are checking 3 IPs pointing to the same host. At the default setting of 5 seconds it is contributing to non-negligible load, chewing up disk space (on a SAN) and "polluting" the logs.

 

 

I can get the hosting provider to up the seconds for the check but the logs would still contain these requests.

 

 

For Apache I'm looking at the Piped Logs capability to send the GETs from the BIG-IPs to /dev/null. I presume similar capability exists in Tomcat (Coyote).

 

 

How do you deal with this? Care to share your strategy/code?

 

 

Thanks!

 

 

Jason
  • For Apache I found SetEnvif, e.g.:

     

     

    SetEnvif Remote_Addr [regex] dontlog

     

     

    CustomLog logs/access_log combined env=!dontlog

     

     

    Still searching for Tomcat solution...

     

     

    Cheers

     

     

    Jason