Return data from the system log.




serial The serial number of the ezeio (XYZ987)
from=datetime The beginning of the range. Format per RFC3339.
to=datetime The end of the range. Format per RFC3339.
fields (optional) Comma separated list of fields. Possible fields are 1-90, GPSx, GPSy, GPSz, GPSsignal. If not given, all fields are returned.
interval (optional) Sample interval. Given as a number followed by 'd', 'h' or 'm' for day, hour or minute.
aggregation (optional) Method of aggregation. Only valid if interval is given.
“raw” (optional) Only return values actually stored in database.

If no interval is given, an automatic interval will be calculated based on the size of the range. This is to ensure the amount of data returned is reasonable.

If range >= 365 days, interval will be 1 day.
If range >= 60 days, interval will be 6 hours.
If range >= 7 days, interval will be 1 hour.
For smaller ranges than 7 days, the interval will be 10 minutes.

Under no circumstances will the call return more than 5000 rows of data.

Aggregation modes:

mean : The mean (average) of samples in the interval
mode : The mode (most common value)
median : The middle value of sorted samples in the interval
min : The smallest value
max : The largest value
sum : The sum of all samples in the interval

Example usage

15 day interval using defaults:


Specifying fields:


Hourly max values:


Return value

JSON formatted data

(below examples have whitespaces added for readability)

Example query:
    // ** Entries removed for brevity **
  • ezeio2/apiref/syslog.txt
  • Last modified: 2019-10-28 20:20
  • by andreh