Swatchdog::Throttle - Perl extension for throttling and thresholding in swatchdog(1)
Contents
Description
Name
Swatchdog::Throttle - Perl extension for throttling and thresholding in swatchdog(1)
See Also
perl(1), swatchdog(1). perl v5.36.0 2023-01-20 Swatchdog::Throttle(3pm)
Swatch Syntax
throttle threshold=<n>,\
delay=<hours>:<minutes>:<seconds>,\
key=log|regex|<regex>
Synopsis
use Swatchdog::Throttle;
throttle(
extra_cuts => @array_of_regular_expressions,
hold_dhms => @DHMS,
key => 'log'|<regex>|<user defined>,
log_msg => <message>,
threshold => <n>,
time_from => 'realtime'|'timestamp',
time_regex => <regex>,
);
