Forum Discussion

ranssa_75310's avatar
ranssa_75310
Icon for Nimbostratus rankNimbostratus
Sep 13, 2011

iRule Per VIP syslog and Formating the output

Hi,

 

 

 

Does anybody know if an iRule can be configured to spit out syslog output to an unique syslog server on a per VIP basis?

 

 

 

Also any ideas on how to format the output from the LTM to a syslog server to look the same as an apache log? such as:

 

 

 

[Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test

 

 

 

 

 

Thanks,

 

Steve

 

  • You could use high speed logging in 10.1 or higher:

     

     

    http://devcentral.f5.com/wiki/iRules.hsl.ashx

     

     

    You can use individually formatted HSL::send commands for each virtual server and send the output to a specific pool of logging server(s).

     

     

    Aaron