Why logstash is not considering my ports?

Getting crazy here !
The idea is to import different log from different port and import then in different indexes.
I got two different configuration files on "etc/logtash/init.d".
The two configuration files has two different ports as an input and different indexes as an output.
What i get is to see the same data in both the indexes. It seems logstash is not considering the port ! What do i do wrong ?
Thanks

Welcome to our community! :smiley:

When Logstash runs it will merge any configs into one big file, so that's likely what is happening. You will want to use either pipelines to keep things separate, or tagging and conditionals to do something similar.

Thanks mark ... it s what was happening. I had to declare both pipelines on pipelines.yml ! Thanks again !

1 Like

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