# Iterate\_on in translate filter

**URL:** <https://discuss.elastic.co/t/iterate-on-in-translate-filter/234980>\
**Category:** Logstash\
**Created:** [May 29, 2020, 7:38pm UTC](https://discuss.elastic.co/t/iterate-on-in-translate-filter/234980 "2020-05-29T19:38:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theo1991](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@theo1991](https://discuss.elastic.co/u/theo1991)\
**Post date:** [May 29, 2020, 7:38pm UTC](https://discuss.elastic.co/t/iterate-on-in-translate-filter/234980/1 "2020-05-29T19:38:05Z")

</div>

Hi,  
I encounter a problem with iterate\_on.  
I have multiple config files for different client, which are the same except the name of the files. The translation with the dictionnary works for the indexes from some config files, but not for the others. I check multiple times my configurations, but everything is okay.  
I change my dictionnary from csv to json, but in that case, the translation works for some indexes which didn't worked before in csv but for some which was working before in csv does'nt work in json. There's no error inside the logstash logs and I'm in debug mode.

My question is : is the iterate\_on parameter stable ? I'm working with the 7.5 version. What could be the problem ?? It's a headache, I'm working on this for 2 entire days.

---

<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:** [May 29, 2020, 8:37pm UTC](https://discuss.elastic.co/t/iterate-on-in-translate-filter/234980/2 "2020-05-29T20:37:41Z")

</div>

Can you provide an example of your configuration and an event that you say it does not work on?

---

<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:** [June 26, 2020, 8:37pm UTC](https://discuss.elastic.co/t/iterate-on-in-translate-filter/234980/3 "2020-06-26T20:37:52Z")

</div>

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