# Disable geoip processor via filebeat ingest pipeline

**URL:** <https://discuss.elastic.co/t/disable-geoip-processor-via-filebeat-ingest-pipeline/348019>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 27, 2023, 7:57am UTC](https://discuss.elastic.co/t/disable-geoip-processor-via-filebeat-ingest-pipeline/348019 "2023-11-27T07:57:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjazz6](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hjazz6/32/79007_2.png) [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Post date:** [November 27, 2023, 7:57am UTC](https://discuss.elastic.co/t/disable-geoip-processor-via-filebeat-ingest-pipeline/348019/1 "2023-11-27T07:57:58Z")

</div>

Hi,

I'm running ES and filebeat v8.8.0. I'm trying to disable the geoip processing only for netflow data written to the index `test`. I have netflow data written to other indices by other filebeat instances that have geoip enabled.

I have modified the config files below, but they did not work (geoip-related fields such as `source.geo.country_name` still appear in my records in the `test` index).

In `/etc/filebeat/filebeat.yml`, added:

```auto
output.elasticsearch.indices:
  - index: "test"
      when.equals:
        input.type: "netflow"

```

In `/usr/share/filebeat/module/netflow/log/manifest.yml`:

- Commented out `name: geoip` and `plugin: ingest-geoip`

In `/usr/share/filebeat/module/netflow/log/ingest/pipeline.yml`:

- Removed all `geoip` blocks
- Removed all `rename` blocks that refer to `as.*` in `source` and `destination` fields

Is filebeat not automatically using the pipeline defined in `/usr/share/filebeat/module/netflow/log/ingest/pipeline.yml`?

I have also tried to explicitly create a pipeline, and specify the pipeline in the filebeat config file. I.e.

```auto
PUT _ingest/pipeline/test_pipeline
{ 
   <Contents of pipeline.yml without any "geoip" or "rename" blocks">
}

```

Then adding `output.elasticsearch.pipeline: "test_pipeline"` to `filebeat.yml`. This didn't work either.

Thank you.

---

<div class="post-metadata">

**Author:** ![hjazz6](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hjazz6/32/79007_2.png) [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Post date:** [November 28, 2023, 2:57am UTC](https://discuss.elastic.co/t/disable-geoip-processor-via-filebeat-ingest-pipeline/348019/2 "2023-11-28T02:57:00Z")

</div>

Found the problem. I needed to load the pipeline manually after modifying `pipeline.yml`, by doing this

`filebeat setup --pipelines --modules nginx -M "netflow.log.enabled=true"`

---

<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:** [December 26, 2023, 4:57am UTC](https://discuss.elastic.co/t/disable-geoip-processor-via-filebeat-ingest-pipeline/348019/3 "2023-12-26T04:57:45Z")

</div>

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