IMPORTANT: No additional bug fixes or documentation updates will be released for this version. For the latest information, see the current release documentation.
Creates a new data stream.
If the Elasticsearch security features are enabled, you must have the
manageindex privilege for the data stream.
(Required, string) Name of the data stream to create.
We recommend using the Elastic data stream naming scheme. Data stream names must meet the following criteria:
- Lowercase only
|, ` ` (space character),
Cannot start with
- Cannot be longer than 255 bytes (note it is bytes, so multi-byte characters will count towards the 255 limit faster)