Update data stream settings

  • PUT /_data_stream/{name}/_settings

NOTE: Available in 8.19. Not available in earlier versions.

This API can be used to override settings on specific data streams. These overrides will take precedence over what is specified in the template that the data stream matches. To prevent your data stream from getting into an invalid state, only certain settings are allowed. If possible, the setting change is applied to all backing indices. Otherwise, it will be applied when the data stream is next rolled over.

  • Index privileges: manage

Path Parameters

name union IndexName | [] IndexName required

A comma-separated list of data streams or data stream patterns.

Request

Type: IndexSettings

Response