# Perfomance/Best Practice Question: Translate plugin vs ES Plugin

**URL:** <https://discuss.elastic.co/t/perfomance-best-practice-question-translate-plugin-vs-es-plugin/171087>\
**Category:** Logstash\
**Created:** [March 6, 2019, 10:54am UTC](https://discuss.elastic.co/t/perfomance-best-practice-question-translate-plugin-vs-es-plugin/171087 "2019-03-06T10:54:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)\
**Post date:** [March 6, 2019, 10:54am UTC](https://discuss.elastic.co/t/perfomance-best-practice-question-translate-plugin-vs-es-plugin/171087/1 "2019-03-06T10:54:45Z")

</div>

Hi All,  
I have to enrich in LS data related to phone calls events based on prefixes of the of the from number (A number) and of the to number (B Number)

I have two options

- Using translate filter plugin  
I need 5 YAML files with diferent information, therefore I use 5 times the translate plugin

or

- Ingest the "enrichment" data into another index and use the ES filter plugin to fetch the data at once and add it to every event.

Which way is best or has better performance?

Thank you very much in advance  
Regards  
Ana

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 6, 2019, 11:06am UTC](https://discuss.elastic.co/t/perfomance-best-practice-question-translate-plugin-vs-es-plugin/171087/2 "2019-03-06T11:06:28Z")

</div>

Translate stores data in memory and should be faster as it avoids a lot of expensive network round trips.

---

<div class="post-metadata">

**Author:** ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)\
**Post date:** [March 6, 2019, 11:19am UTC](https://discuss.elastic.co/t/perfomance-best-practice-question-translate-plugin-vs-es-plugin/171087/3 "2019-03-06T11:19:29Z")

</div>

Thank you Christian  
Regards  
Ana

---

<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:** [April 3, 2019, 11:19am UTC](https://discuss.elastic.co/t/perfomance-best-practice-question-translate-plugin-vs-es-plugin/171087/4 "2019-04-03T11:19:30Z")

</div>

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