Skip to content

Commit

Permalink
Add the pipeline subdocument to the Sources document (#8211)
Browse files Browse the repository at this point in the history
Signed-off-by: linghengqian <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
  • Loading branch information
linghengqian and kolchfa-aws authored Sep 13, 2024
1 parent 27c02f9 commit 8ba63fe
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: documentdb
parent: Sources
grand_parent: Pipelines
nav_order: 2
nav_order: 10
---

# documentdb
Expand Down
2 changes: 1 addition & 1 deletion _data-prepper/pipelines/configuration/sources/dynamo-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: dynamodb
parent: Sources
grand_parent: Pipelines
nav_order: 3
nav_order: 20
---

# dynamodb
Expand Down
2 changes: 1 addition & 1 deletion _data-prepper/pipelines/configuration/sources/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: http
parent: Sources
grand_parent: Pipelines
nav_order: 5
nav_order: 30
redirect_from:
- /data-prepper/pipelines/configuration/sources/http-source/
---
Expand Down
2 changes: 1 addition & 1 deletion _data-prepper/pipelines/configuration/sources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: kafka
parent: Sources
grand_parent: Pipelines
nav_order: 6
nav_order: 40
---

# kafka
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: opensearch
parent: Sources
grand_parent: Pipelines
nav_order: 30
nav_order: 50
---

# opensearch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: otel_logs_source
parent: Sources
grand_parent: Pipelines
nav_order: 25
nav_order: 60
---

# otel_logs_source
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: otel_metrics_source
parent: Sources
grand_parent: Pipelines
nav_order: 10
nav_order: 70
---

# otel_metrics_source
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: otel_trace_source
parent: Sources
grand_parent: Pipelines
nav_order: 15
nav_order: 80
redirect_from:
- /data-prepper/pipelines/configuration/sources/otel-trace/
---
Expand Down
31 changes: 31 additions & 0 deletions _data-prepper/pipelines/configuration/sources/pipeline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: default
title: pipeline
parent: Sources
grand_parent: Pipelines
nav_order: 90
---

# pipeline

Use the `pipeline` sink to read from another pipeline.

## Configuration options

The `pipeline` sink supports the following configuration options.

| Option | Required | Type | Description |
|:-------|:---------|:-------|:---------------------------------------|
| `name` | Yes | String | The name of the pipeline to read from. |

## Usage

The following example configures a `pipeline` sink named `sample-pipeline` that reads from a pipeline named `movies`:

```yaml
sample-pipeline:
source:
- pipeline:
name: "movies"
```
{% include copy.html %}
2 changes: 1 addition & 1 deletion _data-prepper/pipelines/configuration/sources/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: s3 source
parent: Sources
grand_parent: Pipelines
nav_order: 20
nav_order: 100
---

# s3 source
Expand Down
2 changes: 1 addition & 1 deletion _data-prepper/pipelines/configuration/sources/sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: Sources
parent: Pipelines
has_children: true
nav_order: 20
nav_order: 110
---

# Sources
Expand Down

0 comments on commit 8ba63fe

Please sign in to comment.