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 {
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 {
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
3 matches
Mail list logo