Type to search.

Check if data streams have data

Base URL
https://{kibana_url}
  • GET /api/fleet/data_streams/data
  • GET /s/{space_id}/api/fleet/data_streams/data
Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Planned We plan to add this functionality in a future Elastic Stack update. Subject to changes. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Check whether one or more data stream index patterns contain any documents indexed at or after the given start time.

Required privileges

Privileges fleet-read

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

Query parameters

dataStreams string · max length: 4096 required

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

start string · max length: 64 required

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

Responses

Successful response

application/json
results map string to boolean 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.