Filter Severity

Description

The Severity Filter processor can be used to filter out logs that do not meet a given severity threshold.

Supported Types

Metrics
Logs
Traces

Configuration Table

Parameter
Type
Default
Description

severity

enum

TRACE

Minimum severity to match. Log entries with lower severities will be filtered.

condition

string

true

An OTTL expression used to match which log records to sample from. All paths in the log context are available to reference. All converters are available to use.

Valid severity levels:

  • TRACE

  • INFO

  • WARN

  • ERROR

  • FATAL

Example Configuration

Filter out INFO and TRACE logs where Attribute ID is less than 3.

Web Interface

Bindplane docs - Filter Severity - image 1

Standalone Processor

Configuration with Embedded Processor

Last updated

Was this helpful?