# Filebeat - cannot change pipeline in nginx module

**URL:** <https://discuss.elastic.co/t/filebeat-cannot-change-pipeline-in-nginx-module/219360>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 14, 2020, 12:09pm UTC](https://discuss.elastic.co/t/filebeat-cannot-change-pipeline-in-nginx-module/219360 "2020-02-14T12:09:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harm](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Harm](https://discuss.elastic.co/u/Harm)\
**Post date:** [February 14, 2020, 12:09pm UTC](https://discuss.elastic.co/t/filebeat-cannot-change-pipeline-in-nginx-module/219360/1 "2020-02-14T12:09:58Z")

</div>

Hi,

For processing our nginx access logs, we'd like to use a custom pipeline. Therefore I've changed the configuration to:

```
- module: nginx
  # Access logs
  access:
    enabled: true
    input:
      pipeline: filebeat-7.3.1-nginx-access-custom

```

I have also tried this without setting the input: tag. In both situations the beat runs fine, but it does not change the [@metadata][pipeline] field. It is still set to the -default pipeline.

The output is configured for Logstash. So I have verified the metdata field there.

Am I missing something, or is this a bug?

Thanks

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [February 18, 2020, 6:26pm UTC](https://discuss.elastic.co/t/filebeat-cannot-change-pipeline-in-nginx-module/219360/2 "2020-02-18T18:26:48Z")

</div>

Unfortunately it is not currently possible to override the ingest pipeline ID in a module's configuration file. There is already a feature request for this: [https://github.com/elastic/beats/issues/9531](https://github.com/elastic/beats/issues/9531). If you have a GitHub account, I suggest adding your use case to this feature request issue to help prioritize it and also to get notifications about progress updates.

---

<div class="post-metadata">

**Author:** ![Harm](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Harm](https://discuss.elastic.co/u/Harm)\
**Post date:** [February 19, 2020, 9:12pm UTC](https://discuss.elastic.co/t/filebeat-cannot-change-pipeline-in-nginx-module/219360/3 "2020-02-19T21:12:31Z")

</div>

Hi @shaunak, thanks for your reply. I have misunderstood the current functionality then. It sounds very valuable to me, so I'll try to follow up on the Github issue you mentioned.

Thanks!

---

<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:** [March 18, 2020, 9:12pm UTC](https://discuss.elastic.co/t/filebeat-cannot-change-pipeline-in-nginx-module/219360/4 "2020-03-18T21:12:32Z")

</div>

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