# How to read a huge file, tens of GB

**URL:** <https://discuss.elastic.co/t/how-to-read-a-huge-file-tens-of-gb/28236>\
**Category:** Logstash\
**Created:** [August 28, 2015, 9:36am UTC](https://discuss.elastic.co/t/how-to-read-a-huge-file-tens-of-gb/28236 "2015-08-28T09:36:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pemby](https://avatars.discourse-cdn.com/v4/letter/p/ee7513/32.png) [@pemby](https://discuss.elastic.co/u/pemby)\
**Post date:** [August 28, 2015, 9:36am UTC](https://discuss.elastic.co/t/how-to-read-a-huge-file-tens-of-gb/28236/1 "2015-08-28T09:36:37Z")

</div>

I am capturing a huge file from Suricata, it is incrementing at multi MB per minute.  
I just can't read it fast enough with a single server, is it possible to process a single file with more then one server?  
I have SAN that I can use for the shared file access.

---

<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:** [August 28, 2015, 9:51am UTC](https://discuss.elastic.co/t/how-to-read-a-huge-file-tens-of-gb/28236/2 "2015-08-28T09:51:28Z")

</div>

Interleaved reading of a single file from multiple hosts is hard. Can you split the file? If not, have a single process read the file and push each raw line to a broker from which multiple Logstash processes can read and perform further processing.

---

<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, 5:30am UTC](https://discuss.elastic.co/t/how-to-read-a-huge-file-tens-of-gb/28236/3 "2017-07-06T05:30:42Z")

</div>

Closed on July 6, 2017, 5:30am UTC


