Forum Discussion
Is there a way to trace connections?
- Sep 27, 2023
Hi,
A couple of people have asked very simular questions resently.
Try looking here
Solved: iRule to log traffic details - DevCentral (f5.com)This page shows how to get the virtual server name
https://community.f5.com/t5/codeshare/example-of-static-variables-with-virtual-server-specific/ta-p/280350You may also find these to links useful for HTTP and IP info for the connection.https://clouddocs.f5.com/api/irules/HTTP.html
https://clouddocs.f5.com/api/irules/IP.html
From the first example, plus the other references you should be able to pull together you want to see and either log this to file or to a remote server.
Not to sure what you are trying to find out here.
But you can amend your logging to send logs on a per connection basis and review and filter that using a policy or irule.
Or you could use telemetry or netflow with a suitable collector to filter it down at that level.
Depends on what you are looking for and the tools around you.
The cli option is more real-time but again might tell you want you want to know.
- TrainerBobSep 27, 2023Altostratus
Will the logs show which VS is processing a specific connection? I'm not seeing anything for my client IP when I grep /var/log/ltm for it. I'm guessing maybe I need to make a change to the log settings to get connections logged or they're in another log?
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