Closed rider4 closed 1 year ago
This question is about the usage of Elastic products, not the Docker setup provided by docker-elk or its default configuration.
I recommend checking the documentation at https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html.
You're currently using a single pipeline, for which all files under pipeline/*
get merged.
Thank a lot.
Problem description
As you see below, we extended only one new port 5045 for docker-compose. We have only one producer of data that pushes data to port 4045 and should be handled with logstash_45.conf. We created a fake config logstash_46.conf. This pipeline can't listen to data as a minimum because port 4046 is not extended with the docker container. The problem is that data received from a server through port 4045 populates to both indexes microservice-1/microservice-2 and at the same time. The main idea is very simple - to split data from a few servers to their own indexes.
Extra information
Stack configuration
Docker setup
Container logs