# Multiple HTTP Pipelines

**URL:** <https://discuss.elastic.co/t/multiple-http-pipelines/184175>\
**Category:** Logstash\
**Created:** [June 4, 2019, 12:19pm UTC](https://discuss.elastic.co/t/multiple-http-pipelines/184175 "2019-06-04T12:19:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![salkonuhannovic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salkonuhannovic/32/47330_2.png) [@salkonuhannovic](https://discuss.elastic.co/u/salkonuhannovic)\
**Post date:** [June 4, 2019, 12:19pm UTC](https://discuss.elastic.co/t/multiple-http-pipelines/184175/1 "2019-06-04T12:19:48Z")

</div>

Hi,

is it possible to have multiple pipelines which are using the HTTP plugin.  
Meaning to go for a setup like this:

Pipeline 1:

```
input {
  http {
    port => 8080
  }

output {
  elasticsearch {
    hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"]
    index => "ABC"
  }
}

```

Pipeline 2:

> input {  
> http {  
> port =\> 8080  
> }
> 
> output {  
> elasticsearch {  
> hosts =\> ["${ELASTICSEARCH\_HOST}:${ELASTICSEARCH\_PORT}"]  
> index =\> "ABC"  
> }  
> }

If yes how you can distinguish which pipepline is used on the call?

Thanks!

---

<div class="post-metadata">

**Author:** ![pastechecker](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@pastechecker](https://discuss.elastic.co/u/pastechecker)\
**Post date:** [June 4, 2019, 12:37pm UTC](https://discuss.elastic.co/t/multiple-http-pipelines/184175/2 "2019-06-04T12:37:48Z")

</div>

Hi.  
Yes, its possible.  
You can accomplish that by adding tags.

---

<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:** [June 4, 2019, 6:11pm UTC](https://discuss.elastic.co/t/multiple-http-pipelines/184175/3 "2019-06-04T18:11:36Z")

</div>

No, it is not possible. You cannot have two inputs listening on the same port.

---

<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 2, 2019, 6:11pm UTC](https://discuss.elastic.co/t/multiple-http-pipelines/184175/4 "2019-07-02T18:11:36Z")

</div>

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