Multiple HTTP Pipelines

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!

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

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

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