stack kb data-streams get-fleet-data-streams-data cli command
Auth required
Idempotent
Scope: global
elastic stack kb data-streams get-fleet-data-streams-data \
--data-streams <data-streams> \
--start <start> \
[options]
Check if data streams have data
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--data-streamsstringrequired- A comma-separated list of data stream index patterns to check. Each pattern must be of the form
logs-<dataset>-*ormetrics-<dataset>-*. --startstringrequired- An ISO 8601 timestamp. Only documents with an
@timestampat or after this time are considered. --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON