cancel
Showing results for 
Search instead for 
Did you mean: 

How to get correct usage of each client using API

How to get correct usage of each client using API

yusuke-tsushima
New Contributor
Hello everyone, I want to get the usage of each client for a certain time period via XIQ API.

In the verification, I got and compared the usage from 2/22 13:00 to 14:00 via XIQ API and XIQ report, but they didn't match.
Does anyone know what is the cause of the unmatch?
Is the usage obtained using API correct?
Any help is welcome, thanks

XIQ API
https://api.extremecloudiq.com/swagger-ui/index.html?configUrl=/openapi/swagger-config#/Application/...
[
  {
    "client_id": "client_id_1",
    "usage": 361394
  },
  {
    "client_id": "client_id_2",
    "usage": 146501
  },
  {
    "client_id": "client_id_3",
    "usage": 783103
  }
]​


XIQ report
https://docs.aerohive.com/330000/docs/help/english/ng/Content/gui/monitor/configuring-report-setting...

Client  Usage in Bytes  Percentage Usage  Apps  Top App  Top App Usage in Bytes  Client OS Name  User Profile Name
client3("client_id_3") 593015 58.72558 5 APPLE 560228 Apple iOS
client1("client_id_1") 266983 26.43901 9 ICLOUD 168864 Apple iOS
client2("client_id_2") 149809 14.83541 5 SSL 137630 unknown
0 REPLIES 0
GTM-P2G8KFN