I am configuring logstash inside kubernetes using the pipeline and it is connecting to my central elk stack fine.
However not only is it connecting to the ELK Host I specify it is repeatedly trying to contact http://elasticsearch:9200/ which is generating an error and filling up the log files.
How can I stop logstash trying to send requests to this address.
I am using a config map for my logstash configuration. This requests seems to be coming from the default config/logstash.yml but I cannot edit this file as any changes made outside the ConfigMap are not persistent.