Mercurial > wflogs-daemon
view wflogs-daemon.conf @ 12:f6220c098155 default tip
Added tag stable-1-0-1 for changeset 1b7813f588ba
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 17 May 2013 13:35:21 -0700 |
parents | 1b7813f588ba |
children |
line wrap: on
line source
context fast-response { period 120; versions 20; output "/var/www/html/firewall.0fast.%d.html"; tempin "/var/lib/wflogs-daemon/wflogs.fast.input"; wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.fast.input wflogs.fast.input.tmp; nice wflogs -i all -o html wflogs.fast.input.tmp >%s &"; file "/var/log/messages"; pattern "rt01 kernel"; }; context hourly { period 3600; versions 4; trigger hourly; output "/var/www/html/firewall.1hourly.%d.html"; tempin "/var/lib/wflogs-daemon/wflogs.hourly.input"; wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.hourly.input wflogs.hourly.input.tmp; nice wflogs -i all -o html wflogs.hourly.input.tmp >%s &"; file "/var/log/messages"; pattern "rt01 kernel"; }; context daily { period 86400; versions 7; trigger daily; output "/var/www/html/firewall.2daily.%d.html"; tempin "/var/lib/wflogs-daemon/wflogs.daily.input"; wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.daily.input wflogs.daily.input.tmp; nice wflogs -i all -o html wflogs.daily.input.tmp >%s &"; file "/var/log/messages"; pattern "rt01 kernel"; }; context weekly { period 604800; versions 4; trigger weekly; output "/var/www/html/firewall.3weekly.%d.html"; tempin "/var/lib/wflogs-daemon/wflogs.weekly.input"; wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.weekly.input wflogs.weekly.input.tmp; nice wflogs -i all -o html wflogs.weekly.input.tmp >%s &"; file "/var/log/messages"; pattern "rt01 kernel"; };