Skip to main content

Inspect severity filtering

Compare which synthetic log records remain after each configured stage.

How to use this explorer

Move between stages with the arrows or the numbered stage list. Each stage shows the input it receives on the left and the output it produces on the right, with the lines that changed marked. The configuration that makes the change sits below the comparison, and the final stage shows the complete pipeline.

The 3 stages in order

  1. All Log Levels Mixed
    The synthetic input mixes DEBUG, INFO, WARN, and ERROR records before selection.
  2. Parse & Classify
    Normalize the source level and assign the configured priority label.
  3. Filter & Route
    Apply the authored predicate, then configure separate outputs for retained severity groups.

Interactive pipeline

SEVERITY FILTERING

Curated selection walkthrough

Stage 1 of 3

All Log Levels Mixed

The synthetic input mixes DEBUG, INFO, WARN, and ERROR records before selection.

0HighlightsAuthored emphasis only—not a computed diff.
Copy & download

Input

{"level":"DEBUG","msg":"Cache hit","user_id":42}{"level":"DEBUG","msg":"SQL query: SELECT *","user_id":42}{"level":"INFO","msg":"User login","user_id":42}{"level":"DEBUG","msg":"Memory usage: 45%","user_id":42}{"level":"WARN","msg":"Slow query 2.3s","user_id":42}{"level":"ERROR","msg":"Payment failed","user_id":42}{"level":"DEBUG","msg":"Request finished","user_id":42}

Output

{"level":"DEBUG","msg":"Cache hit","user_id":42}{"level":"DEBUG","msg":"SQL query: SELECT *","user_id":42}{"level":"INFO","msg":"User login","user_id":42}{"level":"DEBUG","msg":"Memory usage: 45%","user_id":42}{"level":"WARN","msg":"Slow query 2.3s","user_id":42}{"level":"ERROR","msg":"Payment failed","user_id":42}{"level":"DEBUG","msg":"Request finished","user_id":42}
Partial snippet01-all-log-levels-mixed.yaml
input:
  http_server:
    address: 0.0.0.0:8080
    path: /logs

# No filtering - all logs flow through