Get a Logstash pipeline
Technical Preview
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.
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"
}
}