# Blacklisted domains

**URL:** <https://discuss.elastic.co/t/blacklisted-domains/261033>\
**Category:** Logstash\
**Created:** [January 13, 2021, 6:04pm UTC](https://discuss.elastic.co/t/blacklisted-domains/261033 "2021-01-13T18:04:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [January 13, 2021, 6:04pm UTC](https://discuss.elastic.co/t/blacklisted-domains/261033/1 "2021-01-13T18:04:18Z")

</div>

i have dns logs and in that i have to check whether there is any malicious domains.i have a csv file containing malicious domain how to do a comparison.i used translate field it didnt work

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 13, 2021, 10:08pm UTC](https://discuss.elastic.co/t/blacklisted-domains/261033/2 "2021-01-13T22:08:51Z")

</div>

> [@vinu89](#):
>
> i used translate field it didnt work

Sharing your config and why it didn't work would be useful.

---

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [January 14, 2021, 3:15am UTC](https://discuss.elastic.co/t/blacklisted-domains/261033/3 "2021-01-14T03:15:29Z")

</div>

translate { field =\> "domainname" destination =\> "maliciousdomain" dictionary\_path =\> '/tmp/malicious.yml/' }. In malicious.yml entries are like  
[xyz.com](http://xyz.com)[xyz1.com](http://xyz1.com)

---

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [January 14, 2021, 5:59pm UTC](https://discuss.elastic.co/t/blacklisted-domains/261033/4 "2021-01-14T17:59:11Z")

</div>

mark  
the translate field worked fine i didnt add proper values in my yaml.i have one more doubt my other yaml files contains values like this [halifax.bankingonlineregister.com](http://halifax.bankingonlineregister.com),malware,RESTRICTED  
i want the domainname and the category malware is there any option to do that bcos i have different categories like apt,c$c so ihave to display that also in dashboard

---

<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:** [February 11, 2021, 5:59pm UTC](https://discuss.elastic.co/t/blacklisted-domains/261033/5 "2021-02-11T17:59:23Z")

</div>

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