Hi, my current logstash setup always return localhost for host field.
My system is CentOS 6.x.
I' ve set hostname in /etc/sysconfig/network and also in hostname command.
from Google, it says logstash use gethostname function to get the value.
How can I correctly set the value for hostname? Thanks.