cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API to track data usage and time involved ?

Highlighted
Here to help

API to track data usage and time involved ?

I see alot of awesome API's out, how could or does an API plugin exist to track data migration and vpn data for bandwith use? I am migrating a client's email and Fileservers , but bandwidth and time are challenges.

i map my time for this project internally, but would like to look at a broader scope of up/down traffic for future movements vs time on task vs negated bandwidths.

3 REPLIES 3
Highlighted
Getting noticed

Re: API to track data usage and time involved ?

Hi @Adam-Baxter ,

 

Below community post appears quite similar to your requirement, please refer the solution. Hope this helps..

 

https://community.meraki.com/t5/Developers-APIs/Monitor-number-of-third-party-VPN-connections-using-...

 

https://api.meraki.com/api/v0/networks/{{networkId}}/events/?perPage=3&productType=appliance&includedEventTypes[]=client_vpn_connect&includedEventTypes[]=client_vpn_disconnect

 

Also, refer https://api.meraki.com/api_docs/v0#list-the-clients-that-have-used-this-network-in-the-timespan

 

SAMPLE RESPONSE has the Usage

Successful HTTP Status: 200

[
  {
    "usage": {
      "sent": 138.0,
      "recv": 61.0
    },
    "id": "k74272e",
    "description": "Miles's phone",
    "mac": "22:33:44:55:66:77",
    "ip": "1.2.3.4",
    "user": "milesmeraki",
    "vlan": 255,
    "switchport": null,
    "ip6": "",
    "firstSeen": 1518365681,
    "lastSeen": 1526087474,
    "manufacturer": "Apple",
    "os": "iOS",
    "recentDeviceSerial": "Q234-ABCD-5678",
    "recentDeviceName": "My AP",
    "recentDeviceMac": "00:11:22:33:44:55",
    "ssid": "My SSID",
    "status": "Online",
    "notes": "My client note",
    "ip6Local": "fe80:0:0:0:1430:aac1:6826:75ab",
    "smInstalled": true,
    "groupPolicy8021x": "Student_Access"
  }
]

 

Thanks! 

Highlighted
Here to help

Re: API to track data usage and time involved ?

Thank you, i will look at this
Highlighted
Getting noticed

Re: API to track data usage and time involved ?

No worries!! I just updated my post to the very specific requirement that you mentioned. 🙂
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.