# How to make logstash parse file in a parallel manner

**URL:** <https://discuss.elastic.co/t/how-to-make-logstash-parse-file-in-a-parallel-manner/225568>\
**Category:** Logstash\
**Created:** [March 29, 2020, 4:40pm UTC](https://discuss.elastic.co/t/how-to-make-logstash-parse-file-in-a-parallel-manner/225568 "2020-03-29T16:40:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohsin\_Alam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohsin_alam/32/65201_2.png) [@Mohsin\_Alam](https://discuss.elastic.co/u/Mohsin_Alam)\
**Post date:** [March 29, 2020, 4:40pm UTC](https://discuss.elastic.co/t/how-to-make-logstash-parse-file-in-a-parallel-manner/225568/1 "2020-03-29T16:40:40Z")

</div>

hey i am using 3 vms and on 2 of my vm i am running instance of logstash and what i notice is when i push logs to both the vm's at the same time logs from vm1 are first processed by logstash and then vm2 logs are processed. Wanted to know how to make the data transfer to elastic in a parallel manner.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 29, 2020, 11:17pm UTC](https://discuss.elastic.co/t/how-to-make-logstash-parse-file-in-a-parallel-manner/225568/2 "2020-03-29T23:17:25Z")

</div>

Without a lot more description of the configuration (inputs, outputs, and more) it will be impossible for anyone to say why data does not appear to be processed in parallel.

Also, what evidence are you seeing that makes you think it is not being processed in parallel.

---

<div class="post-metadata">

**Author:** ![Mohsin\_Alam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohsin_alam/32/65201_2.png) [@Mohsin\_Alam](https://discuss.elastic.co/u/Mohsin_Alam)\
**Post date:** [March 30, 2020, 7:33am UTC](https://discuss.elastic.co/t/how-to-make-logstash-parse-file-in-a-parallel-manner/225568/3 "2020-03-30T07:33:24Z")

</div>

my bad i was having some problems so i thought it was not parallel. everything is working fine now. thanks.

---

<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 27, 2020, 7:33am UTC](https://discuss.elastic.co/t/how-to-make-logstash-parse-file-in-a-parallel-manner/225568/4 "2020-04-27T07:33:30Z")

</div>

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