Forum Discussion
asiosio_165682
Aug 08, 2014Nimbostratus
iRule to log HTTP Request
Hello,
I have two F5 Big-IP:
1 * BIG-IP 11.4.1 Build 647.0 Hotfix HF4 1 * BIG-IP 10.2.4 Build 817.0 Hotfix HF7
I want to setup logging for HTTP traffic.
On the first F5 (11.4), no problem....
asiosio_165682
Aug 11, 2014Nimbostratus
Thanks for your answers.
I have almost made it... except for the date format.
Indeed the request logging profile is tampered with $DATE_NCSA variable which produce something like:
[11/Aug/2014:16:17:19 +0200]
With the iRule I use the following:
set req_start_time [clock format [clock seconds] -format "%d/%m/%y:%H:%M:%S %Z"]
which produces something like:
11/08/14:15:35:50 CEST
I do not know how to make them "match" (for the syntax)..
Thanks
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