IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Create Pipeline
editCreate Pipeline
editThis functionality is experimental and may be changed or removed completely in a future release.
The Create Pipeline API enables you to create a centrally-managed Logstash pipeline. You can also use it to update an existing pipeline.
Request
editPUT /api/logstash/pipeline/<id>
Path Parameters
edit-
id
(required) - (string) ID for pipeline. Only alphanumeric characters, hyphens, and underscores may be used.
Request Body
edit-
description
(optional) - (string) Description for the pipeline
-
pipeline
(required) - (string) Pipeline definition
-
settings
(optional) -
(object) Pipeline settings. Supported settings, represented as object keys, are
pipeline.workers
,pipeline.batch.size
,pipeline.batch.delay
,queue.type
,queue.max_bytes
, andqueue.checkpoint.writes
Examples
editPUT api/logstash/pipeline/hello-world { "pipeline": "input { stdin {} } output { stdout {} }", "settings": { "queue.type": "persistent" } }
A successful call returns an HTTP 204 No Content
response.