Create or update a Logstash pipeline
- PUT /_logstash/pipeline/{id}
Create a pipeline that is used for Logstash Central Management. If the specified pipeline exists, it is replaced.
Centralized pipeline managementRequired authorization
- Cluster privileges manage_logstash_pipelines
Request body
-
descriptionstringrequired -
A description of the pipeline. This description is not used by Elasticsearch or Logstash.
-
last_modifiedunionrequired -
The date the pipeline was last updated. It must be in the
yyyy-MM-dd'T'HH:mm:ss.SSSZZstrict_date_time format. -
pipeline_metadataobjectrequired -
Optional metadata about the pipeline, which can have any contents. This metadata is not generated or used by Elasticsearch or Logstash.
-
pipeline_settingsobjectrequired -
Settings for the pipeline. It supports only flat keys in dot notation.
- Reference
-
pipeline.workersnumberrequired -
The number of workers that will, in parallel, execute the filter and output stages of the pipeline.
-
pipeline.batch.sizenumberrequired -
The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.
-
pipeline.batch.delaynumberrequired -
When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.