0

In logs from syslog clients I got hostname field. How can I force syslog-ng to put there IP addres instead hostname? It's only thing I want to change, don't want to be forced to make full message template if possible.

I need to do this on Linux clients, Windows clients, and on Balabit Store Box, I guess for each of these solution can be different.

4

1 回答 1

0

对于 linux,对 IP 使用 $SOURCEIP 宏。

于 2016-11-21T09:42:50.477 回答