viziony
Dec 07, 2022Cirrus
iRule Help on Logging the cookie parameter's value.
Hello There --
Would like to get your assistance on logging from an iRule. I would like the irule to log to the LTM logs to see if the connection is sending over the cookie parameter's value
when HTTP_REQUEST {
if { [HTTP::header "Route-to-AB”] equals "YES" }{
pool pool-A
// log local0.info ?
} else {
pool pool-B
// log local0.info ?
}
}
The same above, I want to make sure I using "Log local0.info" correctly. If additional information is required for the logging to work? I just want to see if the header includes the parameter "Route-to-AB" with a value.