# Referencing an external file

**URL:** <https://discuss.elastic.co/t/referencing-an-external-file/60496>\
**Category:** Logstash\
**Created:** [September 14, 2016, 11:44am UTC](https://discuss.elastic.co/t/referencing-an-external-file/60496 "2016-09-14T11:44:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![debarun](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@debarun](https://discuss.elastic.co/u/debarun)\
**Post date:** [September 14, 2016, 11:44am UTC](https://discuss.elastic.co/t/referencing-an-external-file/60496/1 "2016-09-14T11:44:05Z")

</div>

HI,

I have a scenario where I want to match a log entry with multiple IP addresses and website names.

I want to check if any of these IPs and addresses are in the forbidden list, To do that i think i need to check if the IP/Url is in a list of forbidden url/ips in an external file.

Is it possible in logstash.

Regards,  
Debarun.

---

<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:** [September 14, 2016, 11:47am UTC](https://discuss.elastic.co/t/referencing-an-external-file/60496/2 "2016-09-14T11:47:45Z")

</div>

Have a look at the translate filter.

---

<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:38am UTC](https://discuss.elastic.co/t/referencing-an-external-file/60496/3 "2017-07-06T04:38:33Z")

</div>


