Get Network Traffic Response Unit

Solved
WellyHartanto
Getting noticed

Get Network Traffic Response Unit

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:

 

WellyHartanto_0-1762161230534.png

 

while the corresponding API response is:

WellyHartanto_1-1762161360087.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
alemabrahao
Kind of a big deal
Kind of a big deal

 
 
Yes, you're right. See this discussion.

 

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

I am not a Cisco Meraki 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
alemabrahao
Kind of a big deal
Kind of a big deal

 
 
Yes, you're right. See this discussion.

 

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

I am not a Cisco Meraki 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.
WellyHartanto
Getting noticed

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

Thank you @alemabrahao 

Get notified when there are additional replies to this discussion.