There was a similar post on this, but the replies have been deleted:
When I run a elasticsearch 5.3.1 from a docker container it tries to connect to elasticsearch even though my pipeline only has a udp port as the output. My Dockerfile has:
RUN rm -f /usr/share/logstash/pipeline/*
as the command right after FROM (specifying 5.3.1)
I think that would get rid of all pipeline config files.
ADD my_pipeline/ /usr/share/logstash/pipeline/
I can see my pipeline being executed correctly, but logstash is also stuck trying to connect to elasticsearch, which I don't need. How can this behavior be changed?