cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2256
Views
3
Helpful
2
Replies

Get Network Traffic Response Unit

wellyhartanto
Level 3
Level 3

Hello,

I recently need to investigate an anomaly in the network and need to get information of total amount of data in the traffic analytics based on the application.

I'm using this API endpoint: https://developer.cisco.com/meraki/api-v1/get-network-traffic/

which seems to work just fine.
However, I was assuming that the 'recv' and 'sent' data would be in byte, but it seems it's in kilobytes.
For example, this is what I see in the Meraki dashboard:

image.png

while the corresponding API response is:

image.png

{'application': 'Windows file sharing', 'destination': 'some_fqdn_here', 'protocol': 'TCP', 'port': 445, 'recv': 3364052, 'sent': 41766, 'flows': 56, 'activeTime': 32340, 'numClients': 3}

Meraki dashboard is telling me that it's 3.25 GB and the corresponding API call response is 3364052 + 41766 = 3405818

Hence I'm assuming that the API response is in kilobytes as that will be the closest to the value I'm looking at in the dashboard.
However, no such information is available in the API documentation.

Can anyone help to confirm?
Thanks!

1 Accepted Solution

Accepted Solutions

aleabrahao
Meraki Community All-Star
Meraki Community All-Star
Yes, you're right. See this discussion.

Solved: Re: Get Network Traffic API - Question - The Meraki Community

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

View solution in original post

2 Replies 2

aleabrahao
Meraki Community All-Star
Meraki Community All-Star
Yes, you're right. See this discussion.

Solved: Re: Get Network Traffic API - Question - The Meraki Community

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

Ah, indeed.
I searched around the forum but could not find this post.

Thank you @alessandrodematos