Log Analyzer
Extract statistics, errors, and frequency counts from massive log dumps.
Get the shape of a log before reading it line by line
When someone hands you a few hundred lines of output, the first useful question is usually how bad it is. The Log Analyzer answers that by classifying every line and showing three large counters: errors, warnings and informational messages. Under them it lists example error lines so you can see what kind of failure is involved.
Running an analysis
- Paste your log text into Input Data. The Sample button fills in six lines that include a repeated timeout, and Clear resets the box.
- Click Process Now.
- Read the three cards labelled Errors, Warnings and Infos, and the Total Lines Parsed figure in the summary row.
- Look at Recent Errors Sample for the actual text of the error lines, then copy or download the result if needed.
How lines are classified
Each non-empty line is upper-cased and checked in a fixed order. If it contains ERROR, FATAL or FAIL it counts as an error. Otherwise, if it contains WARN it is a warning. Otherwise, if it contains INFO or DEBUG it is counted as info. Lines that match none of these still add to the total but not to any card, so the three numbers may not add up to the total. The error sample shows at most ten lines, taken from the top of your input in order, not the newest, despite the word Recent in the heading.
Practical uses
- Triage: deciding whether a nightly job log needs attention or looks routine.
- Comparing two runs of a script by pasting each and comparing the counters.
- Spotting a repeating error such as the same timeout appearing again and again.
- Putting numbers into a status update without counting lines by hand.
Caveats
The classification is keyword-based, so a line such as an info message that mentions a failed retry counts as an error, and a line that names its level in some other way, like CRITICAL or NOTICE, is not tallied. It does not group identical messages or read timestamps, and multi-line stack traces are counted line by line. For grouping by level with colour, use the Log Formatter afterwards. Analysis runs in your browser on the text you paste.
Related Tools