When sending logs from the Syslog-ng Agent for Windows, the hostname does not come through as the correct hostname.
原因
There is an entry in the /etc/hosts file in which the host's IP Address is changed to a different DNS name. This setting overrides the hostname that the Syslog-ng Agent uses as it will use the hostname in the /etc/hosts file.
解决办法
Please remove the offending entry in the hosts file, or change the entry to the correct hostname.