Possible to override beat.hostname in local metricbeat

I wondered if I could override default value of beat.hostname in metricbeat.yml as I have classing short hostnames?

Hostname can’t be overwritten but you can overwrite beat.name (in the config under name ) for this purpose.

Yes already done that, it’s just because we use hostname in a grafana template :slight_smile:

Hehe, what about changing the Grafana template? :innocent:

Also changed Grafana template to use beat.name, but as events already are parsing through logstash also changed hostnames by:

mutate {
  replace => { '[beat][hostname]' => "%{[beat][name]}" }


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