Forum Discussion
John_Ogle_45372
Nimbostratus
Sep 05, 2013Extensive logging - best option? normal syslog? HSL? other?
I am doing some extensive logging temporarily in my irule. It was suggested that I may want to look at using HSL. The last time I tried this, the formatting was terrible. Was is the best option for l...
Kevin_Stewart
Employee
Sep 06, 2013HSL does tend to remove the event name and first word in the message (odd), but otherwise it looks exactly as it should.
when SERVER_CONNECTED {
log local0. "client [IP::client_addr]:[TCP::client_port] snat [IP::local_addr]:[TCP::local_port] server [IP::server_addr]:[TCP::server_port]"
HSL::send $hsl "HSL client [IP::client_addr]:[TCP::client_port] snat [IP::local_addr]:[TCP::local_port] server [IP::server_addr]:[TCP::server_port]"
}
Local LTM log:
: client 10.70.0.1:59441 snat 10.70.0.100:59441 server 10.70.0.1:80
Remote syslog:
client 10.70.0.1:59441 snat 10.70.0.100:59441 server 10.70.0.1:80
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects