13.7. Log Level Definitions¶
The Log Level Definitions page of the preferences tree lets you define individual log level definitions. Every definition specifies how Retrospective interprets log entries to find and extract the appropriate log level. It also specifies how the result table displays entries with an assigned log level. Definitions are composed of the hierarchy Configuration > Category > Level > Pattern.
Fig. 13.4 The Log Level Definitions page with its Configuration > Category > Level > Pattern hierarchy.¶
A toolbar above the tree acts on the selected node. From left to right, it holds these buttons:
The Delete key also deletes the selected element. Double-click a configuration or level to rename it. Category names cannot be changed. The table below describes each hierarchy level and the buttons that apply to it.
Level |
Description |
|---|---|
Configuration |
Root node of the tree.
Every configuration contains the three categories |
Category |
Groups log levels and defines the background color of the corresponding log entries in the result table. Categories are also used to group log levels in the statistics chart shown above the result table. The tree shows a category as Category ERROR, Category WARN or Category OTHER. With a category selected, |
Level |
Defines the name, icon and priority used to represent and filter the corresponding log entries. A log level can be identified through one or several patterns. The priority (also called severity) depends on the level’s overall position.
Note The position of log levels matters when you locally filter result
entries by log level. An RQL query with a bounding operator
( |
Pattern |
A case-insensitive word that must be present in a log entry for it to match a specific log level. By default, a pattern contains letters of either case and digits only. It must not contain blanks or other special characters. Note The patterns The Patterns panel carries its own toolbar. An
The two checkboxes below the pattern table apply to all patterns of the selected configuration. A warning icon beside each one explains its performance impact.
|
Retrospective checks the definitions while you edit them. A blank name, a duplicate name, a level without patterns or a duplicate pattern makes the page invalid. The first problem replaces the page title, for example Level ‘…’ has no patterns. Fix it before you apply the changes.
13.7.1. Windows Event Log Levels¶
A Windows event log entry takes its level from the event’s own numeric level,
not from the entry text. Retrospective adds the levels below to the active
configuration when it runs the search: Critical, Error, Warning,
Success, Information, Verbose, Audit Success and Audit Failure.
Each one ranks beside the configured level that carries its English name as a
pattern: Error just below ERROR, Critical and Audit Failure just
above it, Warning just above WARN, Success, Information and
Audit Success just above INFO, and Verbose just above VERBOSE.
The result table, the level filter, aggregations and the HTML, CSV and Excel exports show these levels in the interface language. The Level value in JSON files and in Koia keeps the English name. The language of the Windows host does not matter.
A level that an event provider defines above 5 is shown as Verbose. Level 16 is Success in the Microsoft-Windows-HelloForBusiness/Operational and Microsoft-Windows-WebAuthN/Operational logs.
In the Security log the audit keywords decide the level instead. The Report keywords in ‘Level’ column option controls this behavior, see Event Format.
Each added level carries its own icon. Error, Critical and Audit Failure
join the ERROR category, Warning joins WARN, and the remaining four
join OTHER. Only ERROR and WARN carry a row color.
Note
These levels are not shown in the tree and cannot be edited.









