I am super new to these concepts, I apologize if this is a silly thing. I am trying to visualize Metricbeat data on Grafana with Elasticsearch data source, all running locally, but unable to find where "beat.hostname" is added in Metricbeat config.
I have the latest version of both Grafana and Metricbeat and am following this article. In the "Create Dashboard" section, the author mentions that he used "beat.hostname=grafana" as the host name when installing Metricbeat. He then used it on the query editor field to pull out the data on Grafana dashboard.
But where do we set this up? I looked the two YAML files in the Metricbeat folder but there is nothing describing this.
beat.hostname is no longer used in recent versions of the Elastic stack. The field has been converted to agent.name. But imho you should use host.name as host field. Can you find those fields in your data?
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.