Create or update a Logstash pipeline Added in 7.12.0
Create a pipeline that is used for Logstash Central Management. If the specified pipeline exists, it is replaced.
Path parameters
-
An identifier for the pipeline.
Body Required
-
A description of the pipeline. This description is not used by Elasticsearch or Logstash.
last_modified string | number Required
A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a number of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string representation.
One of: Time unit for milliseconds
-
The configuration for the pipeline.
-
Additional properties are allowed.
-
Additional properties are allowed.
-
The user who last updated the pipeline.
PUT
/_logstash/pipeline/{id}
curl \
-X PUT http://api.example.com/_logstash/pipeline/{id} \
-H "Content-Type: application/json" \
-d '{"description":"string","":"string","pipeline":"string","pipeline_metadata":{"type":"string","version":"string"},"pipeline_settings":{"pipeline.workers":42.0,"pipeline.batch.size":42.0,"pipeline.batch.delay":42.0,"queue.type":"string","queue.max_bytes.number":42.0,"queue.max_bytes.units":"string","queue.checkpoint.writes":42.0},"username":"string"}'