Data streams

Check if data streams have data

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/data_streams/data</span></div>

Refer to Spaces for more information.

Check whether one or more data stream index patterns contain any documents indexed at or after the given start time.<br/><br/>[Required authorization] Route required privileges: fleet-read.

get/api/fleet/data_streams/data

Query parameters

dataStreamsstring required

A comma-separated list of data stream index patterns to check. Each pattern must be of the form logs-<dataset>-* or metrics-<dataset>-*.

startstring required

An ISO 8601 timestamp. Only documents with an @timestamp at or after this time are considered.

Response

Successful response

resultsobject required

One entry per requested index pattern. true when the pattern matched at least one document, false when it matched none or the pattern resolved to no index.

Changes

Changed in 1 of the 176 revisions of this API.1

Of the 176 revisions, 20 have no diff computed.