-
Hi all! The question is more or less in the title. I wonder if it's possible with 2 or more http_server sources, all listening same port but different paths? Can figure it out myself. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @gl1ridae ! Not at this time. The Otherwise you'll unfortunately need to use different ports. |
Beta Was this translation helpful? Give feedback.
Hi @gl1ridae ! Not at this time. The
http_server
source binds to the port so if you have two they will both try to bind to the same port. You could instead use aroute
transform after thehttp_server
source to handle events differently based on the path they were sent to. You'll want to set https://vector.dev/docs/reference/configuration/sources/http_server/#strict_path tofalse
to allow events on any path.Otherwise you'll unfortunately need to use different ports.