How to get IP addresses ONLY in the syslog file
28 May
2004
28 May
'04
1:41 p.m.
Hi, I want to get IP addresses only (not hostnames) in the files written by syslog-ng. I set the relevant options as: options { long_hostnames (off); use_dns (no); use_fqdn (no); keep_hostname (no); use_time_recvd (yes); }; It works for remote connections, however localhost still appears with its device name. Can I get it to log as "127.0.0.1" instead? Ideally I don't want to have the host name in the config file (I know I could define a different template for the local host name or something). Thanks Markus
7757
Age (days ago)
7757
Last active (days ago)
0 comments
1 participants
participants (1)
-
Markus Foerster