title: helm chart stable/logstash - doesnt see elasticsearch in same ns
body: <p>I've installed for local testing elasticsearch and logstash which seems to not see the local es - any idea how es is seen within the cluster/ns ? </p>
  
  <pre><code>helm repo add elastic https://helm.elastic.co
  helm install elastic/elasticsearch --name elasticsearch
  </code></pre>
  
  <pre><code>helm repo add stable https://kubernetes-charts.storage.googleapis.com/
  helm install stable/logstash --name logstash -f logstash.yaml
  </code></pre>
  
  <p>this is the error message:</p>
  
  <pre><code>[2020-01-29T07:40:43,368][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=&gt;"http://elasticsearch.cluster.local:9200/", :error_type=&gt;LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=&gt;"Elasticsearch Unreachable: [http://elasticsearch.cluster.local:9200/][Manticore::ResolutionFailure] elasticsearch.cluster.local: Name or service not known"}
  </code></pre>
  
  <p>The logstash.yaml is - (full config can be checked with <code>helm inspect values stable/logstash</code>) i trimmed everything and left what's important i presume.</p>
  
  <pre><code>elasticsearch:
    host: elasticsearch.cluster.local
    port: 9200
  </code></pre>
  
  <hr>
  
  <p>EDIT:
  Everything works when I put the IP of the pod of elasticsearch master - problem is there are 3 pods and I'd rather hit the dns/fqdn of it rather than particular instance - any idea how it's visible inisde the cluster ? </p>