mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* [DOCS] API intro * Logstash configuration management * Reformatting * Comments from Josh * Commets from Gail * Fixed broken things
38 lines
No EOL
945 B
Text
38 lines
No EOL
945 B
Text
[[logstash-configuration-management-api-list]]
|
|
=== List Logstash pipeline API
|
|
++++
|
|
<titleabbrev>List pipeline</titleabbrev>
|
|
++++
|
|
|
|
experimental[] List all centrally-managed Logstash pipelines.
|
|
|
|
[[logstash-configuration-management-api-list-request]]
|
|
==== Request
|
|
|
|
`GET /api/logstash/pipelines`
|
|
|
|
[[logstash-configuration-management-api-list-example]]
|
|
==== Example
|
|
|
|
The API returns the following:
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
{
|
|
"pipelines": [
|
|
{
|
|
"id": "hello-world",
|
|
"description": "Just a simple pipeline",
|
|
"last_modified": "2018-04-14T12:23:29.772Z",
|
|
"username": "elastic" <1>
|
|
},
|
|
{
|
|
"id": "sleepy-pipeline",
|
|
"description": "",
|
|
"last_modified": "2018-03-24T03:41:30.554Z"
|
|
}
|
|
]
|
|
}
|
|
--------------------------------------------------
|
|
|
|
<1> The `username` property appears when security is enabled, and depends on when the pipeline was created or last updated. |