Skip to content

Commit

Permalink
[DOCS] Add Beats config example for ingest pipelines (#78633) (#78679)
Browse files Browse the repository at this point in the history
* [DOCS] Add Beats config example for ingest pipelines

The Elasticsearch ingest pipeline docs cover ingest pipelines for Fleet and
Elastic Agent. However, the docs don't cover Beats. This adds those docs.

Relates to elastic/beats#28239.

* Update docs/reference/ingest.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
  • Loading branch information
jrodewig and dedemorton authored Oct 5, 2021
1 parent 919311e commit efbe06c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/reference/ingest.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,21 @@ Use the <<index-final-pipeline,`index.final_pipeline`>> index setting to set a
final pipeline. {es} applies this pipeline after the request or default
pipeline, even if neither is specified.

[discrete]
[[pipelines-for-beats]]
=== Pipelines for {beats}

To add an ingest pipeline to an Elastic Beat, specify the `pipeline`
parameter under `output.elasticsearch` in `<BEAT_NAME>.yml`. For example,
for {filebeat}, you'd specify `pipeline` in `filebeat.yml`.

[source,yaml]
----
output.elasticsearch:
hosts: ["localhost:9200"]
pipeline: my-pipeline
----

[discrete]
[[pipelines-for-fleet-elastic-agent]]
=== Pipelines for {fleet} and {agent}
Expand Down

0 comments on commit efbe06c

Please sign in to comment.