Update data stream mappings

  • PUT /_data_stream/{name}/_mappings

This API can be used to override mappings on specific data streams. These overrides will take precedence over what is specified in the template that the data stream matches. The mapping change is only applied to new write indices that are created during rollover after this API is called. No indices are changed by this API.

  • Index privileges: manage

Path Parameters

name union IndexName | [] IndexName required

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

Response