Create data stream API

Create data stream API

Creates a new data stream.

  1. PUT /_data_stream/my-data-stream

Request

PUT /_data_stream/<data-stream>

Prerequisites

Path parameters

<data-stream>

(Required, string) Name of the data stream to create. Data stream names 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.

  • « Data stream APIs

  • Delete data stream API »