For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Drew_Northup's avatar
Drew_Northup
Icon for Nimbostratus rankNimbostratus
Jun 16, 2014

Use iRule to log to StatsD?

Here's the problem: I have a portion of a web application which, when it fails, returns a TCP reset and doesn't enter anything in the access log. It is likely crashing the worker thread / process as it also doesn't write out to the server-local error log.

 

To establish when this is happening, and how frequently, in logging that I have access to outside of the F5 (and which, unlike the F5 LTM syslog, has a usable signal to noise ratio) I was hoping that I could set up logging to an instance of StatsD that I'm using for debugging said application. (Note: I'm talking about the one that Esty wrote using Node.js, not the F5 native "statsd" daemon.)

 

Is this possible, and if so, what is the suggested way to go about it?

 

1 Reply

  • You shouldn't need an iRule to do this. You can turn on RST logging and check out /var/log/ltm to get the details:

     

    http://support.f5.com/kb/en-us/solutions/public/13000/200/sol13223.html