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 
Hehe, what about changing the Grafana template? 
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]}" }
}

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