Forum Discussion
Pranjal_Kumar_3
Nimbostratus
Jan 18, 2018Rest API Endpoint for TCP Stats and for mapping between TCP Profile and Virtual Server
Hi Team,
Is there a rest api to fetch TCP Stats. And as i am planning to query using virtual Server only. Do we have rest api that provides mapping of TCP Profile and Virtual Server.
Thanks, Pranjal
- Jad_Tabbara__J1
Cirrostratus
Hello Pranjal,
Sure you can do it, try the following.
curl -sk -u 'username:pwd' https://x.x.x.x/mgmt/tm/ltm/virtual/~Common~VS_NAME/profiles/~Common~tcp/stats
Only replace the VS_NAME by your real VS name. This will work if your VS is under the "Common" partition, if it is on a different one, replace the "Common" by your partition name.
Please give a feedback if it works for you.
Regards
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