# Should I run multiple pipelines with http input or a single one?

**URL:** <https://discuss.elastic.co/t/should-i-run-multiple-pipelines-with-http-input-or-a-single-one/268337>\
**Category:** Logstash\
**Created:** [March 25, 2021, 12:31pm UTC](https://discuss.elastic.co/t/should-i-run-multiple-pipelines-with-http-input-or-a-single-one/268337 "2021-03-25T12:31:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pk.241011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pk.241011/32/86285_2.png) [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Post date:** [March 25, 2021, 12:31pm UTC](https://discuss.elastic.co/t/should-i-run-multiple-pipelines-with-http-input-or-a-single-one/268337/1 "2021-03-25T12:31:34Z")

</div>

I have a 16GB machine solely dedicated for running logstash. I will be using the http input.  
I will have different sources whose data will be stored in different indices.

I have a choice of running separate pipelines for each source with http input configured at different port numbers.  
Or I can run a single pipeline. I can direct the events to different indices based on their source. I do not mind a slight complexity in a single pipleline.

However what matters is performance. Any recommendations?  
Will running a single http server port that all http clients can connect to will be better?

---

<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 25, 2021, 5:53pm UTC](https://discuss.elastic.co/t/should-i-run-multiple-pipelines-with-http-input-or-a-single-one/268337/2 "2021-03-25T17:53:48Z")

</div>

> [@pk.241011](#):
>
> However what matters is performance. Any recommendations?

Run both configurations and measure which one gives you better performance.

---

<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 22, 2021, 5:54pm UTC](https://discuss.elastic.co/t/should-i-run-multiple-pipelines-with-http-input-or-a-single-one/268337/3 "2021-04-22T17:54:12Z")

</div>

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