Filter JSON Logs Online — Level & Text Query
Filter NDJSON / JSON log lines by level and substring query. Invalid lines are skipped — nothing is uploaded.
Developer notes
• Reads level from first present key among level, severity, lvl (case-insensitive keys). • Aliases: warning→warn, err/fatal→error, trace→debug. • Query is a raw-line substring (case-sensitive); empty query passes. • Missing or unmapped levels are excluded when a specific level is selected. • Output is compact NDJSON of matching parsed values.
Options
When teams pick this route
• Isolate errors containing a request id. • Drop debug noise before pasting into a ticket. • Triage mixed severity NDJSON from a container log. • Pair with format-json-logs afterward for reading.
Worked examples
Keep errors only (level=error)
Input
Filtered output
Warn alias from warning
Input
Filtered output
Navigate related log tools
Format streams with format JSON logs, validate via validate NDJSON, or browse the logs hub.
JSON log filter FAQ
Level + substring
Does query support key=value paths?
No. Query is a case-sensitive substring on the raw line only — no jq or dotted-key language in v1.
What happens to invalid JSON lines?
They are skipped and counted in skippedInvalid. The run still succeeds for remaining lines.
Which level fields are recognized?
The first present among level, severity, or lvl (object keys, case-insensitive). Values are lowercased and aliased (warning→warn, err/fatal→error, trace→debug).
More log tools in this cluster
Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.