I have installed the elastic agent on two linux VM machines and they have the same hostname on both VMs. Unfortunately, only one shows up on my list of installed agents.
How do i change the name used for elastic agent when I install it or modify the configuration?
I'm definitely not getting the fully qualified domain on the hostnames though but the data from this query gives me the ip address - so that will help me.
I still have to fix the hostname on the vm because the metrics data will have the same hostname for both agents/servers and that will give me incorrect information.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.