---
type: api
title: Get a Logstash pipeline
description: Get information for a centrally-managed Logstash pipeline.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-get-logstash-pipeline
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-get-logstash-pipeline
products:
  - Kibana
---

# Get a Logstash pipeline

Availability:

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/logstash/pipeline/{id}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#basicauth)

#### Path Parameters

- `id` (string)
  An identifier for the pipeline.

## Description

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](https://www.elastic.co/guide/en/logstash/current/ls-security.html)

## Response

Indicates a successful call

`application/json`

Type: `object`

## Code Examples

#### Console

```console
GET /api/logstash/pipeline/{id}
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/logstash/pipeline/{id}"
```

## Response Examples

#### Get logstash pipeline response example1

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

