2018-06-08 13:59:39 +02:00
|
|
|
[[logstash-configuration-management-api-delete]]
|
2019-09-06 18:09:57 +02:00
|
|
|
=== Delete Logstash pipeline API
|
|
|
|
++++
|
|
|
|
<titleabbrev>Delete pipeline</titleabbrev>
|
|
|
|
++++
|
2018-06-08 13:59:39 +02:00
|
|
|
|
2019-09-18 17:54:28 +02:00
|
|
|
experimental[] Delete a centrally-managed Logstash pipeline.
|
2018-12-05 22:20:58 +01:00
|
|
|
|
2019-09-06 18:09:57 +02:00
|
|
|
[[logstash-configuration-management-api-delete-request]]
|
2018-06-08 13:59:39 +02:00
|
|
|
==== Request
|
|
|
|
|
2020-03-20 22:33:20 +01:00
|
|
|
`DELETE <kibana host>:<port>/api/logstash/pipeline/<id>`
|
2018-06-08 13:59:39 +02:00
|
|
|
|
2019-09-06 18:09:57 +02:00
|
|
|
[[logstash-configuration-management-api-delete-params]]
|
|
|
|
==== Path parameters
|
2018-06-08 13:59:39 +02:00
|
|
|
|
2019-09-06 18:09:57 +02:00
|
|
|
`id`::
|
|
|
|
(Required, string) The pipeline ID.
|
2018-06-08 13:59:39 +02:00
|
|
|
|
2019-09-06 18:09:57 +02:00
|
|
|
[[logstash-configuration-management-api-delete-codes]]
|
|
|
|
==== Response code
|
2018-06-08 13:59:39 +02:00
|
|
|
|
2019-09-06 18:09:57 +02:00
|
|
|
`204 No Content`::
|
|
|
|
Indicates a successful call.
|
|
|
|
|
|
|
|
[[logstash-configuration-management-api-delete-example]]
|
|
|
|
==== Example
|
2018-06-08 13:59:39 +02:00
|
|
|
|
2020-03-20 22:33:20 +01:00
|
|
|
[source,sh]
|
2018-06-08 13:59:39 +02:00
|
|
|
--------------------------------------------------
|
2020-07-14 21:59:21 +02:00
|
|
|
$ curl -X DELETE api/logstash/pipeline/hello-world
|
2018-06-08 13:59:39 +02:00
|
|
|
--------------------------------------------------
|
2019-10-16 22:10:40 +02:00
|
|
|
// KIBANA
|