Get a Logstash pipeline Technical Preview

GET /api/logstash/pipeline/{id}

Get information for a centrally-managed Logstash pipeline. To use this API, you must have either the logstash_admin built-in role or a customized Logstash reader role.

Path parameters

  • id string Required

    An identifier for the pipeline.

Responses

  • 200 application/json

    Indicates a successful call

GET /api/logstash/pipeline/{id}
curl \
 --request GET 'http://localhost:5622/api/logstash/pipeline/{id}' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "id": "hello-world",
  "description": "Just a simple pipeline",
  "username": "elastic",
  "pipeline": "input { stdin {} } output { stdout {} }",
  "settings": {
    "queue.type": "persistent"
  }
}