# Translate Issue

**URL:** <https://discuss.elastic.co/t/translate-issue/58052>\
**Category:** Logstash\
**Created:** [August 15, 2016, 6:05pm UTC](https://discuss.elastic.co/t/translate-issue/58052 "2016-08-15T18:05:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaykumar](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@jaykumar](https://discuss.elastic.co/u/jaykumar)\
**Post date:** [August 15, 2016, 6:05pm UTC](https://discuss.elastic.co/t/translate-issue/58052/1 "2016-08-15T18:05:18Z")

</div>

Hi All,

I have tested Logstash translate feature, which works perfectly fine. But it can understand only two columns one as source and another as destination field.

I am looking at a solution to match key-value with col1 and get data of col2, col3, col4 so on into new fields.

I would appreciate if any one could help me.

Regards,

Ajay

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 15, 2016, 8:22pm UTC](https://discuss.elastic.co/t/translate-issue/58052/2 "2016-08-15T20:22:23Z")

</div>

The translate filter lookup result could be a string that you parse further with e.g. a kv, csv, or json filter, i.e. your lookup table could look simular to this:

```
lookup-key {"col2": "a", "col3": "b", ...}
```

---

<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:** [July 6, 2017, 4:43am UTC](https://discuss.elastic.co/t/translate-issue/58052/3 "2017-07-06T04:43:27Z")

</div>


