37 lines
782 B
Plaintext
37 lines
782 B
Plaintext
|
[[indices-delete-data-stream]]
|
||
|
=== Delete data stream API
|
||
|
++++
|
||
|
<titleabbrev>Delete data stream</titleabbrev>
|
||
|
++++
|
||
|
|
||
|
Deletes an existing data stream along with its backing indices.
|
||
|
|
||
|
////
|
||
|
[source,console]
|
||
|
-----------------------------------
|
||
|
PUT /_data_stream/my-data-stream
|
||
|
{
|
||
|
"timestamp_field" : "@timestamp"
|
||
|
}
|
||
|
-----------------------------------
|
||
|
// TESTSETUP
|
||
|
////
|
||
|
|
||
|
[source,console]
|
||
|
--------------------------------------------------
|
||
|
DELETE _data_stream/my-data-stream
|
||
|
--------------------------------------------------
|
||
|
|
||
|
|
||
|
[[delete-data-stream-api-request]]
|
||
|
==== {api-request-title}
|
||
|
|
||
|
`DELETE _data_stream/<data-stream>`
|
||
|
|
||
|
|
||
|
[[delete-data-stream-api-path-params]]
|
||
|
==== {api-path-parms-title}
|
||
|
|
||
|
`<data-stream>`::
|
||
|
(Required, string) Name or wildcard expression of data stream(s) to delete.
|