[syslog-ng]Configure syslog-ng to act as a central loggingserver

Vaibhav Goel syslog-ng@lists.balabit.hu
Thu, 31 Mar 2005 08:10:27 -0800


The $HOST macro...



-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of Ryan McCain
Sent: March 31, 2005 8:08 AM
To: billn@billn.net; syslog-ng@lists.balabit.hu
Subject: Re: [syslog-ng]Configure syslog-ng to act as a central
loggingserver

I'm starting to understand the syntax.  However, what part of this
statement tells syslog-ng to create a file for each host its receiving
logs from?

Thanks,
Ryan
=20
=20
>>>billn@billn.net 03/31 10:00 am >>>=20
On Thu, 31 Mar 2005, Ryan McCain wrote:=20
=20
>Where can I find documentation that will give me information on how to=20
>accept logs from remote hosts and have each of the hosts log to their=20
>own file?=20
>=20
=20
destination hosts {=20
file("/var/syslog/HOSTS/$HOST/$YEAR/$MONTH/$HOST-$FACILITY-$YEAR$MONTH$D
AY"

owner(bob) group(llamafood) perm(0755) dir_perm(0755) create_dirs(yes));

};=20
=20
- billn=20
=20
syslog-ng maillist  -  syslog-ng@lists.balabit.hu=20
https://lists.balabit.hu/mailman/listinfo/syslog-ng=20
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html=20
=20
_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html