# Collecting Json/CSV data from a URL as input

**URL:** <https://discuss.elastic.co/t/collecting-json-csv-data-from-a-url-as-input/173849>\
**Category:** Logstash\
**Created:** [March 26, 2019, 2:49am UTC](https://discuss.elastic.co/t/collecting-json-csv-data-from-a-url-as-input/173849 "2019-03-26T02:49:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HaranKumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harankumar/32/87594_2.png) [@HaranKumar](https://discuss.elastic.co/u/HaranKumar)\
**Post date:** [March 26, 2019, 2:49am UTC](https://discuss.elastic.co/t/collecting-json-csv-data-from-a-url-as-input/173849/1 "2019-03-26T02:49:23Z")

</div>

Hello Team,

I am collecting list of IOC from various sources using minemeld and it is available in a URL.  
https://...My\_IP\_address.../feeds/Bad\_IPv4?tr=1&v=json

How do I collect the list of IPs and send it into elasticsearch ?

basically my requirement is to collect dynamic IOC from Minemeld and use it with my ELK stack.

my approaches

1. Collect IOC list and store it in a json file and use it with Translate filter in logstash for adding IP reputation check.  
or
2. Collect IOC list and send it to elasticsearch directly and store it in a separate index.

\*\* minemeld has logtsash output which sends TCP data at port 5514. but it doesn't work for me. So i am going for collecting IOC in a file and using it with translate filter in logstash.

if some one has already tried minemeld logstash output - kindly help.

Regards,  
Haran

---

<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:** [April 23, 2019, 2:49am UTC](https://discuss.elastic.co/t/collecting-json-csv-data-from-a-url-as-input/173849/2 "2019-04-23T02:49:26Z")

</div>

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