Retrieve Pipeline

edit

This functionality is experimental and may be changed or removed completely in a future release.

The Retrieve Pipeline API enables you to retrieve a centrally-managed Logstash pipeline.

Note: You cannot access this endpoint via the Console in Kibana.

Request

edit

GET /api/logstash/pipeline/<id>

Path Parameters

edit
id (required)
(string) ID for pipeline.

Examples

edit
GET api/logstash/pipeline/hello-world

A successful call returns a JSON structure similar to the following example:

{
  "id": "hello-world",
  "description": "Just a simple pipeline",
  "username": "elastic",
  "pipeline": "input { stdin {} } output { stdout {} }",
  "settings": {
    "queue.type": "persistent"
  }
}