Logstash elasticsearch host name

I have a elasticsearch, logstash, and kibana deployment on kubernetes.

When the logstash,conf file is created I get the following:

elasticsearch {
hosts => ["elasticsearch.default.svc.cluster.local:9200"]
}

Where is that host name coming from?

How can I change the host to use a namespace other than "default". I assume "default" is the namespace. My elasticsearch service is running in a different namespace.

Problem resolved.

How did you resolve the problem?

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