Forum Discussion
problem with irule changeing http stream rewrite to https
- Jan 27, 2022
Hi Patrick,
tmsh show ltm virtual /\*/\* profiles detail | egrep "Ltm::Virtual Server|Ltm::ClientSSL|Ltm::ServerSSL|Protocol Version" > /var/tmp/tlsstats.txt
The command will create tlsstats.txt file to the /var/tmp/ directory. Can you try?
- PatrickCoxJan 28, 2022
Altocumulus
Hi Enes_Afsin_Al,
I had to rewrite the command as:
tmsh show ltm virtual \/*\/* profile detail | grep -E "Ltm::Virtual Server|Ltm::ClientSSL|Ltm::ServerSSL|Protocol Version"
Reversed the slashes, and the redirect to file (> /var/tmp/tlsstats.txt) did not work. But what displayed on screen looked correct.
I then took this command and started to build a REST API call. I finally came up with:
https://{BigIPHost}/mgmt/tm/ltm/virtual/{vs-name}/profiles/{profile-name}/stats
I can then tear into the returned object to get the stats out and build a CSV file
Thanks for the lead.
Patrick
- Nikoolayy1Jan 28, 2022
MVP
Also see if the F5 telemetry streaming to Splunk or other SIEM would not be a better way to do things :
- https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/quick-start.html
- https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/
- https://docs.splunk.com/Documentation/AddOns/released/F5BIGIP/PrepareF5serverfortelemetrystreaming
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