Forum Discussion

Pranjal_Kumar_3's avatar
Pranjal_Kumar_3
Icon for Nimbostratus rankNimbostratus
Jan 18, 2018

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

 

1 Reply

  • 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