Pasted as Plain Text
Description: rsyslogd eg-stats setup
URL: http://lumen.esilibrary.com/p/3Eh1Kw69.html
1
2
3
4
5
6
7
8
9
10
# Log file template -------
$template egstats,"/[path]/[to]/[logs]/%$YEAR%/%$MONTH%/%$DAY%/eg_stats.%$HOUR%.log"
 
 
# Rule -------
if $programname contains 'eg-stats' then
{
local0.info ?egstats;msgformat
& ~
}