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.
- Cluster privileges:
manage_logstash_pipelines
Path Parameters
-
idstring Idrequired -
An identifier for the pipeline.
Request
-
descriptionstringrequired -
A description of the pipeline. This description is not used by Elasticsearch or Logstash.
-
last_modifiedDateTimerequired -
The date the pipeline was last updated. It must be in the
yyyy-MM-dd'T'HH:mm:ss.SSSZZstrict_date_time format. -
pipeline_metadataPipelineMetadatarequired -
Optional metadata about the pipeline, which can have any contents. This metadata is not generated or used by Elasticsearch or Logstash.
-
pipeline_settingsPipelineSettingsrequired -
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.
-
queue.typestringrequired -
The internal queuing model to use for event buffering.
-
queue.max_bytesstringrequired -
The total capacity of the queue (
queue.type: persisted) in number of bytes. -
queue.checkpoint.writesnumberrequired -
The maximum number of written events before forcing a checkpoint when persistent queues are enabled (
queue.type: persisted). -
usernamestringrequired -
The user who last updated the pipeline.