---
type: api
title: Get ingest stream settings
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/operation/operation-get-streams-name-ingest
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/operation/operation-get-streams-name-ingest
products:
  - Kibana
---

# Get ingest stream settings

Availability: Experimental since 9.1

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

## Paths

- `GET` `/api/streams/{name}/_ingest`
- `GET` `/s/{space_id}/api/streams/{name}/_ingest`

#### Path parameters

- `name` (string · max length: 200) — required
  The name of the stream.

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Fetches the ingest settings of an ingest stream definition

## Required authorization

- Privileges: `read_stream`

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Request body

`application/json`

Any of:
- **object**
- **object**

## Response

Ingest settings for the stream.

`application/json`

## Code examples

#### Console

```console
GET kbn:/api/streams/NAME/_ingest
{}
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/streams/${NAME}/_ingest" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Response examples

#### Get wired ingest

```json
{
  "ingest": {
    "failure_store": {
      "inherit": {}
    },
    "lifecycle": {
      "inherit": {}
    },
    "processing": {
      "steps": [
        {
          "action": "grok",
          "from": "message",
          "ignore_missing": false,
          "patterns": [
            "%{IPORHOST:client.ip} %{USER:ident} %{USER:auth} \\[%{HTTPDATE:@timestamp}\\] \u0022%{WORD:http.method} %{DATA:url.original} HTTP/%{NUMBER:http.version}\u0022 %{NUMBER:http.response.status_code:int} (?:%{NUMBER:http.response.body.bytes:int}|-)"
          ]
        }
      ],
      "updated_at": "2025-01-15T10:30:00.000Z"
    },
    "settings": {},
    "wired": {
      "fields": {
        "client.ip": {
          "type": "ip"
        },
        "http.method": {
          "type": "keyword"
        },
        "http.response.body.bytes": {
          "type": "long"
        },
        "http.response.status_code": {
          "type": "long"
        },
        "url.original": {
          "type": "wildcard"
        }
      },
      "routing": [
        {
          "destination": "logs.nginx.errors",
          "status": "enabled",
          "where": {
            "field": "http.response.status_code",
            "gte": 500
          }
        }
      ]
    }
  }
}
```

