---
name: "Swatch::Throttle"
section: "3pm"
platform: "linux"
package: "swatch"
version: "3.2.3-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Swatch::Throttle"
---

# Swatch::Throttle(3pm)

## NAME

```
  Swatch::Throttle - Perl extension for throttling and thresholding in swatch(1)
```

## SYNOPSIS

```
  use Swatch::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>,
          );
```

## SWATCH SYNTAX

```
  throttle threshold=<n>,\
           delay=<hours>:<minutes>:<seconds>,\
           key=log|regex|<regex>
```

## DESCRIPTION

## AUTHOR

E. Todd Atkins, todd.atkins@stanfordalumni.org

## SEE ALSO

[*perl*(1)](/perl/1.md), *swatch*(1).
