# Translate filter is not working when the input is from filebeat module

**URL:** <https://discuss.elastic.co/t/translate-filter-is-not-working-when-the-input-is-from-filebeat-module/246671>\
**Category:** Logstash\
**Created:** [August 27, 2020, 5:53pm UTC](https://discuss.elastic.co/t/translate-filter-is-not-working-when-the-input-is-from-filebeat-module/246671 "2020-08-27T17:53:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeeth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeeth/32/71724_2.png) [@Jeeth](https://discuss.elastic.co/u/Jeeth)\
**Post date:** [August 27, 2020, 5:53pm UTC](https://discuss.elastic.co/t/translate-filter-is-not-working-when-the-input-is-from-filebeat-module/246671/1 "2020-08-27T17:53:30Z")

</div>

Hi all,

We have two different logstash pipelines for two different location data.

1. Paloalto --\> syslog --\> filebeat --\> Logstash --\> Elasticsearch (Parsing with filebeat panw module)
2. Paloalto --\> syslog --\> Logstash --\> Elasticsearch(parsing with grok)

All the data is parsing correctly in both the cases. Now we have a new requirement where we need to compare a field source.ip with a dictionary using translate filter. This is working perfectly in case 2 but not working in case 1.  
Please find the below translate filter im using in both the cases.

```auto
        translate {
        field => "destination.ip"
        destination => "event.MM_ids_ip"
        dictionary_path => '/tmp/IPv4_feedHCMCWithValue.csv'
        refresh_interval => 300
        override => "true"
        refresh_behaviour => "replace"
      }

```

So I believe this translate filter is failing in case of filebeat module usage. Can u help us solve this issue.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 27, 2020, 6:04pm UTC](https://discuss.elastic.co/t/translate-filter-is-not-working-when-the-input-is-from-filebeat-module/246671/2 "2020-08-27T18:04:09Z")

</div>

> [@Jeeth](#):
>
> `field => "destination.ip"`

Are you sure the field name has a period in it? Or is it the ECS [destination][ip]?

---

<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:** [September 24, 2020, 6:04pm UTC](https://discuss.elastic.co/t/translate-filter-is-not-working-when-the-input-is-from-filebeat-module/246671/3 "2020-09-24T18:04:09Z")

</div>

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