On Tue, 8 Oct 2013, Jeremy Hoel wrote:
There's an example on the wiki (
http://wiki.rsyslog.com/index.php/Rsyslog_v7_configuration_example_(with_mysql_or_mongodb)
) that has a quick snippet for 'repeated x times'.
if $hostname == 'last' then
action(type="omfile" file="/dev/null")
& ~
Is that any better or worse, performance wise then just doing 'if
$hostname == 'last' then stop'
I would expect the performance to be noticably worse than your version.
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.