#docs #tql

Scan Query

The Scan query returns raw data rows.

A scan query will return events as they are received, similar to SELECT * FROM telemetry-signals SQL command would.

Example

{
  "queryType": "scan",
  "dataSource": "telemetry-signals",
  "columns": ["__time", "appID", "type"],
  "intervals": ["2024-01-01/2024-01-02"],
  "limit": 3,
  "order": "descending"
}

Properties

All default properties and the following properties are supported:

PropertyDescription
columnsA list of columns to return.
limitThe maximum number of rows to return.
orderThe ordering of returned rows based on timestamp. Make sure to include the timestamp column __time in the columns list.