I'm preparing configuration files for my servers.
Currently there is a hostname sent by filebeats. But I'd like to add another field - with IP.
I thought the easiest would be to set the env. variable and evaluate it during the startup of filebeat, but I don't think filebeat supports it.
So is it possible to do it somehow, or I just need to modify the config file on every server by hand and set a proper IP value as a custom field?