AuthThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.AvailabilityGenerally available since 8.19This functionality is generally available and ready for production usage.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.
Get the data stream options configuration of one or more data streams.
If defined, it specifies configuration for the failure store of this data stream.
enabledboolean · default: true
If defined, it turns the failure store on/off (true/false) for this data stream. A data stream failure store
that's disabled (enabled: false) will redirect no new failed indices to the failure store; however, it will
not remove any existing data from the failure store.
lifecycleobject
If defined, it specifies the lifecycle configuration for the failure store of this data stream.
data_retentionstring
If defined, every document added to this data stream will be stored at least for this time frame.
Any time after this duration the document could be deleted.
When empty, every document in this data stream will be stored indefinitely.
enabledboolean · default: true
If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle
that's disabled (enabled: false) will have no effect on the data stream.