Hi there,
I'm trying to modify the host field because several machines have the same name but not in the same dns zone.
I'm using the host_param directive as explain in
http://docs.fluentd.org/articles/config-file but I suppose I did something wrong because it's not working.
I want to use the name returned by the command `hostname` and not the first part of my fqdn `hostname -f`.
In my td-agent.conf I wrote:
<system>
host_param "#{Socket.gethostname}"
</system>
@include conf.d/*.conf
But the logs (I'm testing with syslog on debian 7) keep the first part of my fqdn in the host field.
I tried with a static value for the host_param but with the same result.
If someone know where fluent read the name or how to use the host_param, you're very welcome :).
thanks