Create a data stream

  • PUT /_data_stream/{name}

You must have a matching index template with data stream enabled.

  • Index privileges: create_index

Path Parameters

name string required

Name of the data stream, which must meet the following criteria: Lowercase only; Cannot include \, /, *, ?, ", <, >, |, ,, #, :, or a space character; Cannot start with -, _, +, or .ds-; Cannot be . or ..; Cannot be longer than 255 bytes. Multi-byte characters count towards this limit faster.

Response