powerQuery
POST {{app_url}}/api/powerQuery
Run a PowerQuery, where you can pipe one or many search expressions into a set of commands to transform, manipulate, group, and summarize your data.
Request Body
{"token"=>"{{log-read-token}}", "query"=>"serverHost = * | columns serverHost, timestamp | limit 1", "startTime"=>"4h", "endTime"=>"0h"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"columns":[{"name":"serverHost"},{"name":"timestamp"}],"warnings":[],"values":[["cloudwatch-us-west-2",1677267900000000028]],"matchingEvents":1,"status":"success","omittedEvents":0}