Filtering Syslog-NG

2007-09-05 Thread Nathan
I've got several hosts all dumping their syslog logs to a dedicated box running syslog-ng. As it stands I used the following line in the syslog-ng.conf file to create seperate files and directories for the different boxes. destination d_ALL {

Re: Filtering Syslog-NG

2007-09-05 Thread Allan Wind
On 2007-09-05T11:06:56-0400, Nathan wrote: destination d_ALL { file(/var/log/$R_YEAR/$R_MONTH/$HOST/$R_YEAR-$R_MONTH-$R_DAY); }; I need to filter out the logs from one host and have it go to a different destination. I setup the following destination: destination d_CUDA {

Re: Filtering Syslog-NG

2007-09-05 Thread Nathan
Allan Wind wrote: On 2007-09-05T11:06:56-0400, Nathan wrote: destination d_ALL { file(/var/log/$R_YEAR/$R_MONTH/$HOST/$R_YEAR-$R_MONTH-$R_DAY); }; I need to filter out the logs from one host and have it go to a different destination. I setup the following destination: destination d_CUDA