Delete Logstash pipeline API
editDelete Logstash pipeline API
editThis API deletes a pipeline used for Logstash Central Management.
Request
editDELETE _logstash/pipeline/<pipeline_id>
Prerequisites
edit-
If the Elasticsearch security features are enabled, you must have the
manage_logstash_pipelines
cluster privilege to use this API.
Description
editDeletes a Logstash pipeline.
Path parameters
edit-
<pipeline_id>
- (Required, string) Identifier for the Pipeline.
Examples
editThe 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.