[syslog-ng]chain_hostname(yes) complicates use of $HOST variable

jernej horvat j@elite.org
Thu, 14 Sep 2000 13:28:11 +0200


> get messages in the formats:
> src@aaaa
> and
> Message/aaaa.bbbb.cornell.edu
> last/aaaa.bbbb.cornell.edu

I got those from AIX syslogd's. Not happy with it, because i want t0 have
directories with hostname from which those messages are coming.
/var/log/machine_name/program/month.log), and i also have one allmsg.log for
each hostname in those directories.

now...i get /var/log/Messages/"forwarded from ...." < aix syslog

What i would like to do is to differ the hostname that remote syslog is
telling it is from and hostname those messages are comming from.

/var/log/coming_from_this_and_this_hostname/"supposed hostname"....