Forum Discussion
PG0581
Cirrus
Dec 05, 2018iRule to log IP/Cookie
Right now this will log the clients IP:Port and cookie values. Is there a way to make this bi-directional?
ltm rule EXAMPLE_RULE {
when HTTP_REQUEST {
log local0. "Client Source IP: [IP::client_addr]:[TCP::client_port] Client cookie values [HTTP::cookie names]"
}
}
- PG0581
Cirrus
I have it working with this:
ltm rule Example_Rule { when HTTP_REQUEST { log local0. "Client IP: [IP::client_addr]:[TCP::client_port] Client cookie values [HTTP::cookie names]" } when HTTP_RESPONSE { log local0. "Server IP: [IP::server_addr] Server cookie values [HTTP::cookie names]" } }
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