1
response

Is it possible to force the agent to send the IP address of the host in the syslog message?

Either send Only the IP or at least ensure the IP is included with the hostname.

AskedAugust 4, 2020 - 2:48pm

Answer (1)

Hello,

Depending on your actual needs, you might use the host_ip() from NXLog's core functions - please refer to the docs:

[https://nxlog.co/docs/nxlog-ce/nxlog-reference-manual.html#core_funcs](https://nxlog.co/docs/nxlog-ce/nxlog-reference-manual.html#core_funcs]

and sew it into your config file.

Regards,

Rafal