Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Rest 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

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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

0