Forum Discussion
Local Traffic Policy for creating Logging Profile
HI Mohamed,
Thanks for your response, it working fine just date and time part is missing attaching the snippet for your reference.
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: 192.168.1.1
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: /user_login.php?
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: GET
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: /user_login.php
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: 1.1
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: /Common/F5-TRNG-POOL
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: 52668
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: 192.168.1.25
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: 80
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: 192.168.1.25
May 30 09:20:30 ashi.com info tmm[12651]: [/Common/LOGGING-TRAFFIC-POLICY/CLIENT-IP-LOGGING]: 200
- May 31, 2023
Hi ashish_solanki ,
IT's great that it worked with you.
For Time Maybe you can use this :tcl:[clock format clock seconds]
Also I would like you to refer to those articles :
> https://www.tcl.tk/man/tcl8.5/tutorial/Tcl41.html
> https://community.f5.com/t5/technical-forum/date-time-sensitive-irules/td-p/17077
It achievable easly using iRules but Let's try this with Local traffic policies.
goodluck
Recent Discussions
Related Content
* 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