Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230663

Re: NSX Flow Monitoring API issue

$
0
0

Hi MIzo,

I have enabled Flow monitoring via GUI but the get flow API does not work (step 4). My NSX is version 6.2.6 Build 4977495 and I notice it is use Flow API 6.3 syntax. Thanks for this.

The output from GET API:

 

<html>

    <title>NSX Manager</title>

    <body>Invalid Operation</body>

</html>

 

I tried:

https://192.168.0.250/api/2.1/2.1/app/flow/flowstats?contextId=datacenter-2\&flowType=TCP_UDP\&startTime=1493273464\&endTime=1494646469

https://192.168.0.250/api/2.1/2.1/app/flow/flowstats?contextId=datacenter-2\&flowType=TCP_UDP\&startTime=0\&endTime=1494646469

https://192.168.0.250/api/2.1/2.1/app/flow/flowstats?contextId=datacenter-2\&flowType=TCP_UDP\

 

I can see some flow outputs from GUI but not from API.

I attached my datacenter ID from MOB page which shows "datacenter-2" value. Do you have any idea why I got the invalid operation error? Thank you.


Viewing all articles
Browse latest Browse all 230663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>