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.
Thanks a lot for your help!