Forum Discussion
Have you tried using this guide to send HSL via the management interface?
K50040950: Configuring the BIG-IP system to send high-speed logs through the management interface
- seamlessfireworkApr 26, 2023Cirrus
Hi Michael,
Thanks for the quick reply. I'm gonna give it a hit. I'll keep you posted.
- seamlessfireworkApr 28, 2023Cirrus
Unfortunately I doesn't work. The iRule code example states the following
when CLIENT_ACCEPTED { set my_hsl [HSL::open -publisher /<partition>/<log publisher>] } when HTTP_REQUEST { HSL::send $my_hsl "Request: [HTTP::host][HTTP::uri]" log local0.info "Request: [HTTP::host][HTTP::uri]" } when CLIENT_CLOSED { unset my_hsl }
In my case I have UDP DNS traffic that I want to log to a remote syslog. However my iRule code only has the "when CLIENT_ACCEPTED" statement where I set the HSL variable and send the logs via HSL::send. Maybe this is the problem?
I configured the HSL pool in the Common partition as well as the log configuration (publisher, destination etc.). The iRule is configured in another partition. Is such a configuration valid or problematic?