Forum Discussion
2 Replies
Sort By
- alex100Cirrostratus
Below iRule will log Client IP, Http host and URI to LTM log
when HTTP_REQUEST { log local0. "You custom message: [IP::client_addr] >>> [HTTP::host][HTTP::uri]" }
Hope this helps.
Hi Ashu Aggarwal,
For remote logging:
Create a syslog pool.
And change pool name in below iRule.
when HTTP_REQUEST { HSL::send [HSL::open -proto UDP -pool syslog_server_pool] "VS: [virtual name] - CIP: [IP::client_addr] - Host: [HTTP::host] - URI: [HTTP::uri]" }