ant77
Mar 15, 2021Cirrostratus
Logging HTTP response header to /var/log/ltm and Splunk
Hello everyone -
I tried to log an HTTP response to the local log and since the syslog and analytics are being sent to spunk from the BigIP, it does not seem to be working.
Using this iRule and adding it to a virtual server, I don't see anything in the logs....Am I missing something? Thanks for your help!
when HTTP_RESPONSE {
log local0. "HTTP Status = [HTTP::status]"
log local0. "HTTP version = [HTTP::version]"
log local0. "HTTP Content Length Header = [HTTP::header value "content-length"]"
}