[syslog-ng]Configure syslog-ng to act as a central logging server

Ryan McCain syslog-ng@lists.balabit.hu
Thu, 31 Mar 2005 10:08:09 -0600


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

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

}; 
 
- billn 
 
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