# Tranlate filter for bind logs but multiple fields

**URL:** <https://discuss.elastic.co/t/tranlate-filter-for-bind-logs-but-multiple-fields/138474>\
**Category:** Logstash\
**Created:** [July 4, 2018, 4:28am UTC](https://discuss.elastic.co/t/tranlate-filter-for-bind-logs-but-multiple-fields/138474 "2018-07-04T04:28:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [July 4, 2018, 4:28am UTC](https://discuss.elastic.co/t/tranlate-filter-for-bind-logs-but-multiple-fields/138474/1 "2018-07-04T04:28:58Z")

</div>

Hi,

I am collecting bind9 logs through logstash; now I am thinking of using translation plugin but the my destination field varies and I want that to be appear in logs or should get indexed. Can someone please give me any clue or if any idea with logstash plugin to achieve this?

Here is I want to achieve and my dictionary file

translate {  
field =\> "query"  
destination =\> "????????"  
refresh\_interval =\> 200  
dictionary\_path =\> '/etc/logstash/doms.yaml'  
}

"[0ek.ru](http://0ek.ru)": "Glupteba"  
"[0ev.ru](http://0ev.ru)": "emotet"  
"[0ey.ru](http://0ey.ru)": "emotet"  
"[0g2.ru](http://0g2.ru)": "Phishing"  
"[0ge.ru](http://0ge.ru)": "RAT"  
"[0i4.ru](http://0i4.ru)": "Glupteba"  
"[0iy.ru](http://0iy.ru)": "Ramcos"  
"[0jo.ru](http://0jo.ru)": "APT28"

---

<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:** [August 1, 2018, 4:29am UTC](https://discuss.elastic.co/t/tranlate-filter-for-bind-logs-but-multiple-fields/138474/2 "2018-08-01T04:29:06Z")

</div>

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