# Right way to make ingest pipeline work

**URL:** <https://discuss.elastic.co/t/right-way-to-make-ingest-pipeline-work/249055>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 18, 2020, 4:53am UTC](https://discuss.elastic.co/t/right-way-to-make-ingest-pipeline-work/249055 "2020-09-18T04:53:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fxx/32/75799_2.png) [@fxx](https://discuss.elastic.co/u/fxx)\
**Post date:** [September 18, 2020, 4:53am UTC](https://discuss.elastic.co/t/right-way-to-make-ingest-pipeline-work/249055/1 "2020-09-18T04:53:27Z")

</div>

- create a ingest pipeline in kibana
  - test with kibana.dev-tool.grok .... ok
  - test with kibana.ingest.test-pipeline ... ok
  - test with POST index/?pipeline=xxx ... ok

- call by filebeat.yml
  - filebeat.yml

```auto
output.elasticsearch:
  hosts: ["es:9200"]
  pipeline: "pp123"

filebeat.inputs:
- type: log
  index: "test7-%{+yyyy.MM.dd}"
  paths:
  - '/test-log/test7*.log'
  fields:
    ktype: ka
  fields_under_root: true

```

but this not work, pipeline **never** called.

with the discuss from: [ingest-pipeline-not-working-for-filebeat](https://discuss.elastic.co/t/ingest-pipeline-not-working-for-filebeat/228015)  
i set index settings with final\_pipeline, ingest **works**.

so the question:

- it this the right way?
- if we have to handy set index.settings for final\_pipeline, what's the meaning of filebeat.yml pipeline used for?
- why official docs never tell this.
- what's the differents between ingest.pipeline, processors.module.
- why processors.grok not exists?

_elk,beats version=7.9_

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 16, 2020, 6:53am UTC](https://discuss.elastic.co/t/right-way-to-make-ingest-pipeline-work/249055/2 "2020-10-16T06:53:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
