# I want to Index IPs in elasticsearch from my text document

**URL:** <https://discuss.elastic.co/t/i-want-to-index-ips-in-elasticsearch-from-my-text-document/211217>\
**Category:** Logstash\
**Created:** [December 10, 2019, 5:32am UTC](https://discuss.elastic.co/t/i-want-to-index-ips-in-elasticsearch-from-my-text-document/211217 "2019-12-10T05:32:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishnu\_mk](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Vishnu\_mk](https://discuss.elastic.co/u/Vishnu_mk)\
**Post date:** [December 10, 2019, 5:32am UTC](https://discuss.elastic.co/t/i-want-to-index-ips-in-elasticsearch-from-my-text-document/211217/1 "2019-12-10T05:32:18Z")

</div>

Hi,

My text document contains IPs in below format:

1)10.12.7.2 - 10.7.24.25  
2}10.5.44.1 - 10.5.44.255

I want to index all the IPs Lying between the IPs ranges from reading the text file

---

<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:** [January 7, 2020, 5:32am UTC](https://discuss.elastic.co/t/i-want-to-index-ips-in-elasticsearch-from-my-text-document/211217/2 "2020-01-07T05:32:22Z")

</div>

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