Get a Logstash pipeline Technical Preview

View as Markdown
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.

Secure your connection

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 'https://localhost:5601/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" } }