Forum Discussion
ashish_solanki
May 29, 2023Cirrus
Local Traffic Policy for creating Logging Profile
Hi All, I am working on creating a logging profile for HTTP/S virtual server for which I need help in tcl format for below logging parameters like tcl:[HTTP::host]: Virtual server name BIGIP HOST...
May 29, 2023
Hello ashish_solanki ,
It's not that easy to deploy that , but let's try I see it's interesting:
Client >>> [IP::remote_addr]
Port >>>[TCP::remote_port]
Pool >>> [LB::server]
Returns Server IP address >>> [LB::server addr]
Returns selected Server Port >>> [LB::server port] >>> https://clouddocs.f5.com/api/irules/LB__server.html
[virtual name] >>>> https://clouddocs.f5.com/api/irules/virtual.html
Hostname >>> [HTTP::host]
Http Status in Responses >>[HTTP::status]
it's Good to try those but as I mentioned it's not that easy , you need to log to events at http requests and responses as well to get the status codes.
unfortunatelty , I don't have like your environment to test all of these TCL scripts , but anyway I hope it helps you in your implementations.
Please keep me updated , I need to know if it helps you or not.
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