Hello,
I am running elk in a self managed environment and my question concerns the following fleet setting:
xpack.fleet.agents.elasticsearch.hosts
This parameter is described in documentation as:
"Hostnames used by Elastic Agent for accessing Elasticsearch."
Does it mean that each hostname in the list is a hostname that points to the same Elasticsearch? Or does it mean that each hostname in the list points to a different Elasticsearch.
I have only one Elasticsearch node and it has:
- a public hostname used by elastic-agent that run in other networks as my cluster
- an internal hostname that is used by fleet-server elastic-agent to access it
So I configured my kibana.yml as such:
xpack.fleet.agents.elasticsearch.hosts:
- public_hostname
- intern_hostname
Is it the right way do go?
I have the same question with xpack.fleet.agents.fleet_server.hosts