This API deletes a pipeline used for Logstash Central Management.
-
If the Elasticsearch security features are enabled, you must have the
manage_logstash_pipelines
cluster privilege to use this API.
The following example deletes the Pipeline named my_pipeline
:
resp = client.logstash.delete_pipeline( id="my_pipeline", ) print(resp)
response = client.logstash.delete_pipeline( id: 'my_pipeline' ) puts response
const response = await client.logstash.deletePipeline({ id: "my_pipeline", }); console.log(response);
DELETE _logstash/pipeline/my_pipeline
If the request succeeds, you receive an empty response with an appropriate status code.