Read Live Stats
Reads the raw data to calculate real-time statistics.
Request
Method |
URL |
POST |
/smserver-default/sms.ReadLiveStats |
RAW |
POST /smserver-default/sms.ReadLiveStats HTTP/1.1 Cache-Control: no-cache Connection: Keep-Alive Pragma: no-cache Content-Type: application/json; charset=UTF-8 Accept: */* Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[ {} ] |
Explained |
Used to obtain the "raw" statistical data (in case you need to run your own analysis).
Payload: one-element JSON array containing an empty object. |
Response
Method |
URL |
RAW |
Accept-Encoding: synlz,gzip Content-Type: application/json; charset=UTF-8
{"result":[ [ { "St" : "2016-02-05T21:47:15", "Stats" : [ { "Pr" : 0, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 1, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 2, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 3, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 4, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 5, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 } ] }, { "St" : "2016-02-05T21:47:20", "Stats" : [ { "Pr" : 0, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 1, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 2, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 3, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 4, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 }, { "Pr" : 5, "Kup" : 0, "Kdo" : 0, "Fup" : 0, "Fdo" : 0, "Se" : 0 } ] } ],"id":772674711} |
Explained |
A JSON array containing objects which represent "raw" data to be analyzed for statistical purposes.
St: timestamp in UTC Pr: protocoll (0: all, 1 ssh, 2 sftp, 3 ssh2shl, 4 ftp, 5 ftps, 6 ftpes, 7 ssh2fwd) Kup: Kbytes uploaded in the time frame represented by this object Kdo: Kbytes downloaded in the time frame represented by this object Fup: Files uploaded in the time frame represented by this object Fdown: Files downloaded in the time frame represented by this object Se: sessions served in this time frame |