Forum Discussion
benniehanas_239
Mar 14, 2018Nimbostratus
Help with iRule logging to local0.
I am trying to log an iRule, but it keeps erroring out. Can you help with what I'm missing?
when HTTP_REQUEST {
if { [HTTP::path] starts_with "/media" } {
pool
persist cookie ...
Boggs_5738
Mar 14, 2018Nimbostratus
so tried the irule in the lab.. here is working irule per my test.. it was not the underscore. it was some extra or missing curly bracket...
when HTTP_REQUEST { if { [HTTP::path] starts_with "/media" } {
pool persist cookie insert
log local0. "mediacom_28080 TCP_logging fired, from [IP::client_addr]" } }
resulting log
Mar 14 09:37:22 f5 info tmm1[21757]: Rule /Common/slashmedia : mediacom_28080 TCP_logging fired, from xx.xx.xx.xx
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