Log Analysis: Level Filters and Error Grouping

Open Tool Log Analyzer

Five levels, two keywords

Logs run to tens of thousands of lines, beyond manual scanning. Level toggles filter first, with five labels for debug, info, warn, error and fatal, showing only what is checked. An include keyword targets specifics like an endpoint name, while an exclude keyword removes known noise such as polling heartbeats. Controls analyse, load a sample, download results and clear. Output reports counts per level and the most frequent errors.

Steps

  1. Paste or load logs and check the sample format.
  2. Check only error and fatal first to surface the problem surface.
  3. Add an include keyword for the endpoint or module to narrow the path.
  4. Add exclusions for known noise like health checks and scheduled jobs.
  5. Analyse and see whether the level distribution and top errors point at one place.
  6. Download the filtered result and continue elsewhere if needed.

Levels and why grouping matters

Levels express severity rather than frequency: debug is development detail usually off in production, info records normal flow, warn means continuing with risk, error means one operation failed, and fatal means the process cannot proceed. Grouping merges repeated errors into counts, because one error is unremarkable while a thousand in an hour is a problem. Keyword matching is substring based, more practical when case-insensitive but prone to false hits, since searching error also catches normal lines mentioning an error field. Timestamps and line numbers must survive filtering or context is lost.

Common mistakes

Checking only errors and missing the warnings that preceded them. Keywords too broad and returning noise. Exclusions masking real problems. Ignoring the level distribution to chase the first error. Dropping timestamps and line numbers. And reading non-UTF-8 logs where Chinese garbles.

Where filtering is not root cause

Multi-host aggregation needs centralised logging. Trends need monitoring platforms. Structured queries need JSON-aware tools. And filtering still requires code and call chains to explain causes.

⏫︎