Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


portertech/sensu-severity-filter

v0.0.3 · public · Published over 4 years ago

README
Asset Definition
Release Notes
Release Assets

Sensu Go Severity Filter

TravisCI: TravisCI Build Status

The Sensu Go Severity Filter is a Sensu Event Filter that
filters Sensu Go Events by Check status severity (ok, warning,
critical, unknown).

This Filter Asset implements the Sensu 1.x built-in Handler
severities filter logic
.

Configuration

Configure filter definitions

Define one or more filters with sensu-severity-filter as a runtime
asset
and using the has_severity function in a filter expression.
The following example shows a filter which will allow events with a
critical check severity:

---
type: EventFilter
api_version: core/v2
metadata:
  name: only_critical
  namespace: default
spec:
  action: allow
  runtime_assets:
    - sensu-severity-filter
  expressions:
    - has_severity(event, "critical")

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

Either download the source code:

Download Source

Or download the asset definition: