Greetings,

 

I am trying to accomplish something and am requiring some assistance.  I have custom logs that write needed output to this directory:

 

/production/server/20070822/xxxx.log

 

This log file rotates every day so the next date will be 20070823 and so on.

How can I direct a custom destination file to log remotely that log file to the central server and have it pick it up everyday?

 

So for example . . . I have a central syslog server that writes all its input to /remote/logs/<date>/<HOST>

 

On the server sending the remote logs I have this parameter:     destination { file(“/production/server/$YYYY$MM$DD/xxxx.log”); };

For some reason I think its not working properly due to the $DATE variables, I tried also using % to no avail.  All the necessary logs do log remotely as I wish them to.

Is this the proper way to configure this scenario?

 

What I want to do is log the custom logging @ xxxx.log to the correct server $hostname on the central server

 

This would be the idea:

Custom.log -> local syslog-ng -> central-syslog-ng -> /remote/logs/<date>/<HOST>

 

I am currently logging all the servers logging locally and remotely, but I cannot get syslog-ng to log that custome log file to the remote server.

 

I hope this makes sense!

 

Thanks.

 

 

 

Regards, Corey M. Bobb

Data Center Manager

 

850 South Concourse

Suite 150

Maitland, FL 32751

D:  321.445-2150

M: 321-262-2845

F: 407.333.7701

cbobb@cygnus.com

www.cygnus.com