# Enrichment file for threat feeds in logstash

**URL:** <https://discuss.elastic.co/t/enrichment-file-for-threat-feeds-in-logstash/260258>\
**Category:** Logstash\
**Created:** [January 5, 2021, 9:02pm UTC](https://discuss.elastic.co/t/enrichment-file-for-threat-feeds-in-logstash/260258 "2021-01-05T21:02:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Falikou1](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@Falikou1](https://discuss.elastic.co/u/Falikou1)\
**Post date:** [January 5, 2021, 9:02pm UTC](https://discuss.elastic.co/t/enrichment-file-for-threat-feeds-in-logstash/260258/1 "2021-01-05T21:02:13Z")

</div>

Hello,

I'm sending threat feeds to elasticsearch from a linux machine.  
I created a patern feeds index in kibana.  
Logstash receives Fortinet logs continuously.  
I created a patern fortinet index in kibana.

My goal is to detect in the fortinet logs:  
malicious IPs  
malicious DNS  
malicious urls  
...

How can I enrich the logstash configuration for malicious IP detection?  
Will I be able to have a sample file configuration?

---

<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 5, 2021, 10:27pm UTC](https://discuss.elastic.co/t/enrichment-file-for-threat-feeds-in-logstash/260258/2 "2021-01-05T22:27:56Z")

</div>

You probably want to use this filter - [https://www.elastic.co/guide/en/logstash/current/plugins-filters-elasticsearch.html](https://www.elastic.co/guide/en/logstash/current/plugins-filters-elasticsearch.html) - as you ingest your logs.

---

<div class="post-metadata">

**Author:** ![Falikou1](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@Falikou1](https://discuss.elastic.co/u/Falikou1)\
**Post date:** [January 6, 2021, 10:07am UTC](https://discuss.elastic.co/t/enrichment-file-for-threat-feeds-in-logstash/260258/3 "2021-01-06T10:07:36Z")

</div>

I am new to using Elastic.  
I have already configured the parsing of fortinet logs. And I dropped it in / etc / logstash / cond

I will now want an example of an enrichment configuration file that will detect malicious IP, DNS, URLs in fortinet kibana logs

---

<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 3, 2021, 10:07am UTC](https://discuss.elastic.co/t/enrichment-file-for-threat-feeds-in-logstash/260258/4 "2021-02-03T10:07:38Z")

</div>

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