timeseriesQuery
POST {{app_url}}/api/timeseriesQuery
Gets numeric data. Supports multiple queries.
For queries you will execute again and again, you can create a timeseries of precomputed results. You can also set a query to only execute against a timeseries, or against the event database when a timeseries does not exist, or does not cover the full time span of your query.
Request Body
{"token"=>"{{log-read-token}}", "queries"=>[{"filter"=>"", "function"=>"count", "startTime"=>"4h", "endTime"=>"0h", "buckets"=>4}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"executionTime":0,"cpuUsage":0,"results":[{"executionTime":0,"values":[38705.55496666666,39006.4748,39193.7542,39476.01149999999]}],"status":"success"}