capabilities.work

Set retention and downsampling on a data stream

One step with Elastic Stack. We can help you get access.

Get something done

Set retention and downsampling on a data stream

Use Elastic Stack: its Elasticsearch Request & Response Specification data stream API lets you set retention and downsampling on a data stream in a single step (PUT /_data_stream/{name}/_lifecycle). capabilities.work can help you get signed up and connected.

  • How do I keep only 30 days of data in a data stream?
  • Can I add downsampling rounds to a data stream's lifecycle?
Say it to your AI assistant
  • Set data retention on data stream {name} to {data_retention}.
  • Configure downsampling {downsampling} on the lifecycle of {name}.
For your developer

PUT /_data_stream/{name}/_lifecycle in Elasticsearch Request & Response Specification data stream API. Full spec on APIs.io.