[syslog-ng] Variable issue with syslog-ng

Aldrich, Jamie S JSAldrich at pier1.com
Thu Aug 25 17:28:19 CEST 2011


I am trying to setup syslog-ng to use the DAY and MONTH variable on the source file input.  What am I doing wrong?

source s_file {
file("/psfs_logs/APPSRV_${MONTH}${DAY}.LOG" flags(no-parse));
};
destination d_messages{
udp("10.13.33.11");
};
log {
source(s_file);
destination(d_messages);
};

Any help would be greatly appreciated...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20110825/7759c898/attachment.htm 


More information about the syslog-ng mailing list