6.6. Result Visualization (Result Table)¶
Search and monitoring results are shown in the result table, where distinct information such as date/time, log level, and data appears in individual columns.
When a row is selected, its content appears in the result detail pane just underneath the table. When several rows are selected, the result detail pane shows the content of the topmost selected row.
By default, search entries are sorted chronologically, with the most recent entries at the bottom. You can change the sorting at any time, as described under Sorting.
Entries arrive in the order the data sources deliver them. When a search finishes, Retrospective puts them into chronological order. On a large result this runs in the background. The status bar shows Indexing disk storage with a Cancel button. You can keep scrolling and reading the table; the entries appear in arrival order until the ordering completes. While it runs, saving the result and exporting it to Koia are unavailable.
Whatever you had selected stays selected while that ordering runs, and the result detail pane keeps showing it. The same holds while monitoring: when the Disk storage limit is reached, Retrospective drops the oldest entries and re-indexes the rest. Your selection survives these re-indexes. It is released when you sort or filter yourself, or when the entry itself is removed: by Remove Selected, by Clear result, or because the storage limit discarded it. Scrolling away and back shows the entry still selected. A row you click while such a re-index is running is deselected when it completes, so select it again.
If you press Cancel, the entries keep their arrival order and the Date/Time column shows no sort arrow. Any local filter you had set stays applied. You can put the entries into chronological order later by clicking the Date/Time column header.
Monitoring entries are appended to the bottom of the table as they arrive, regardless of their date/time. Columns cannot be sorted while results are still loading or being indexed, or while monitoring runs. When monitoring stops, Retrospective sorts the entries chronologically once.
Fig. 6.24 A search tab with results: the search definition area and the statistics chart on top, then the result table toolbar, the result table with one row selected, and the result detail pane showing that row’s content.¶
6.6.1. Result Table Toolbar¶
Retrospective provides a toolbar on top of the result table that gathers the controls for filtering, highlighting, navigating and exporting the entries. For a toggle, the tooltip names the action a click performs; the table quotes the default state.
Button |
Description |
|---|---|
Removes all entries from the result table. Available while monitoring runs. |
|
Result count |
A status label that reports how many entries the table holds. It reads
|
Pauses the automatic scrolling of the table to the last discovered
log entry. While scrolling is paused, the button shows
|
|
Switches the result table between two row layouts.
In the multi-line layout the row’s highlighting color is shown behind
the level name in the Level column, so the wrapped content
stays on a plain background. The tooltip then reads
Switch to single line cells. The button icon
shows the layout a click switches to ( |
|
Sets the highlighting applied to result rows and to text in the result
detail pane. The button icon reflects the current option; by default,
rows are highlighted by their log level (
In the single-line layout the color fills the whole row. In the multi-line layout it marks the matched text and is shown behind the level name in the Level column. Switching layouts never changes what is highlighted. |
|
Finds the log events that were written with the longest delay after their preceding event and reveals them in the table. See Delayed Log Events. The icon shows a green bullet while a reveal is active, and the tooltip then reads Stop analyzing delayed log events; clicking the button again removes the reveal. |
|
Filters the result entries locally by the value shown in the
Date/Time column. Matching entries are filtered;
non-matching entries are hidden (filtered-out) by default. See
Local Date/Time Filter. The icon shows a green bullet
( |
|
Opens a pop-up listing all distinct normalized log levels present in
the result. Clear the levels you want to filter out. The icon shows a
green bullet ( |
|
Opens a pop-up with one filter row per visible custom column
of the current profile. An entry is
filtered if every defined custom-column filter, together with the
local filter text, matches its content. The icon shows a green bullet
( |
|
Local filter field |
Filters the result entries locally by the entered phrase. See Local Filter Field. An arrow button to the right of the field recalls previously used filter texts. The RQL field has a clear button. |
|
Determines whether the original timestamps are considered when the
local filter is applied. Timestamps are excluded by default. While they
are included ( |
Determines whether the local filter phrase is case-sensitive. The filter
is case-insensitive by default. While it is case-sensitive
( |
|
Available while a local filter is active. By default the non-matching
entries are hidden; the initial state comes from Hide
filtered-out entries on the Local Filter preferences page. Click the button to show all entries
( |
|
Select the previous or next matching entry while all entries are shown. Press Ctrl+↑ or Ctrl+↓ (on macOS, Cmd+↑ / Cmd+↓ while no text field has the focus). At the first or last match, Retrospective offers to continue from the other end. |
|
Counts and reports the distinct values of result-table columns or full-text fields. See Result Data Aggregation. |
|
Creates an immutable copy of the current result data. Snapshots appear in the Result Snapshots view, from where a search tab can be restored at any time. Restored tabs are backed by another copy, so a snapshot stays unchanged after creation. |
|
Saves the data of the desired columns to a file. The button shows the icon and name of the selected format. The first format comes from Default Save File Type on the Result Options preferences page. Its arrow selects another format, and the tab remembers your choice.
|
|
Writes the result data to a database so it can be further analyzed in the Koia web application. Configure the connection on the preferences page. |
Choosing Instant Result Highlighting, or pressing Ctrl+Shift+I, opens a pop-up where you define a single one-off matcher. The first button sets its background color; new rules start with a color from a rotating palette. The second button sets the font and the text color together. The pattern field previews the choice and holds the term to match. Three toggles follow:
Include original timestamp from log entry content when evaluating highlighting: the original timestamp counts as part of the evaluated content.
Interpret definition as regular expression (Regex): the term is a regular expression.
Make text case-sensitive: matching respects upper and lower case.
Click Accept highlighting definition or press Enter to apply the rule, or Cancel (Esc) to leave it unchanged. When you edit an existing rule, Remove highlighting definition deletes it and turns highlighting off. The rule is saved with the tab: it stays active when the search runs again and when the session is restored. A new pop-up starts from the last rule you accepted in this run of Retrospective.
Fig. 6.25 The instant highlighting pop-up: background and foreground color, the match term, and the timestamp, regex and case toggles.¶
Fig. 6.26 The highlighting drop-down menu, with the By Highlighting Set submenu expanded.¶
Note
A few result-toolbar controls have moved or changed since the legacy version:
Word wrap (
) and data formatting
(
: JSON, XML, or none) now live on the detail toolbar
of the result detail pane (see Result Details Pane). Their initial
state still comes from the preferences page.The legacy Enable disk storage index button is gone: all result data is now always held in the database, so sorting and local filtering always cover the complete result set.
Fig. 6.27 The custom-column filter pop-up: one filter row per visible custom column.¶
6.6.2. Result Table Headers¶
Clicking a column header sorts the table by that column, as described under Sorting. The headers of the Data and Path columns carry a drop-down as well.
The Data column can show or hide the original timestamps found in the log entries. The glyph on the column header indicates the current state:
Click the Data column header to open its drop-down, then choose Exclude original timestamp or Include original timestamp. The entry that matches the current state is unavailable. Exports to CSV, HTML, Excel, JSON and Koia follow this choice; a text file always contains the entries as they are.
Fig. 6.28 The Data column header menu.¶
The Path column header carries a second drop-down that sets how much of the path each row reports. Click the icon and arrow at the left of the header to open it; clicking elsewhere on the header sorts. The header shows a glyph for the current mode.
Show full path: the complete evaluated path, for example
/var/log/app/server.log. This is the default.Show last directory and item: the last directory and the file name, for example
app/server.log.Show item only: the file name alone, for example
server.log.
Sorting by Path always uses the full path, whatever the column shows. The header tooltip states the current mode.
6.6.3. Local Date/Time Filter¶
When you click
Filter result by date/time, a
pop-up lets you define a local date/time filter. A new filter starts on the
Default Type set on the Local Filter preferences page, when that type is a date frame or date/time frame.
Otherwise it starts as Since at second precision. Click
Accept to apply it. When you edit an existing filter,
Remove deletes it. The display formats are set on the
preferences page.
Note
The value in the Date/Time column usually differs from the original timestamp in the log entry. Time-zone conversion, the adjusted time offset for remote SSH hosts and your formatting all change it. To filter entries by the original date/time pattern, use the local text filter instead (see Local Filter Field).
Click
Change local Date/Time filter to
choose another filter type from a further pop-up. Week-based types such as
Current week start on the First day of week set on the
Date/Time preferences page.
Fig. 6.29 The local date/time filter pop-up, here in Since mode.¶
Tip
The local date/time filter can be defined from the current selection: right-click a result entry and choose (see Result Table Context Menu).
Tip
You can also set this filter by dragging across the statistics chart above the result table (see Filtering by a Time Range). The chart then shows the filter as a range you can move and resize.
6.6.3.1. Date Frame Filter¶
A date frame filter (also called a date range) filters entries by a date boundary. The chronological unit in round brackets defines the precision and the display format of the date fields. Once selected, refine it by switching between Since, Between, and Before and by changing the boundaries. To change the display format globally, change Date format on the preferences page.
Fig. 6.30 A date-frame filter in Between mode, with a lower and an upper date boundary.¶
6.6.3.2. Date/Time Frame Filter¶
A date/time frame filter (also called a date/time range) works the same way but at time precision: the time unit in round brackets defines the precision and the display format of the fields. To change the display format globally, change Date/Time format on the preferences page.
Fig. 6.31 A date/time-frame filter in Between mode, with date-and-time boundaries.¶
6.6.3.3. Date/Time Frame Types¶
The drop-down of the date and date/time frame filter lets you switch between the following types.
Type |
Description |
|---|---|
Since |
Retains entries created at or after the lower boundary. |
Between |
Retains entries created between the including lower boundary and the excluding upper boundary. |
Before |
Retains entries created before the excluding upper boundary. |
6.6.4. Local Filter Field¶
Even with precisely defined search criteria, a search can return thousands of entries. You can filter the results locally instead of refining the criteria and fetching the entries from the source computers again. Then only the entries that contain a given text or log level are shown. Matching entries are referred to as filtered; non-matching entries are hidden by default (filtered-out).
There are two types of local filter field:
the Classic “Contains” Filter field, and
the Retrospective Query Language (RQL) field.
Both apply to the raw data of the log entries: what you see in the result detail pane when you select an entry. The active type is chosen on the preferences page; the RQL field is used by default. A changed type applies to new search tabs. The classic field applies the filter after the Filter apply delay and when you press Enter; the RQL field applies it only when you press Enter. The field keeps a history of previously used filters, recalled through the arrow button to its right.
Two toggles sit to the right of the field and apply to both field types. They decide how the entered phrase is matched, so pressing either one re-applies the current filter. Invalid text is never applied, neither an RQL query (see Validation) nor a classic wildcard:
Make local filter text case-sensitive: the
phrase must match the entry’s capitalization. Off by default; while on, the
button shows
.
Include original timestamp from log entry
content when locally filtering: the original timestamp that the log entry
carries in its own text counts as part of the filtered content, so a phrase
may match it. Off by default; while on, the button shows
. This is independent of the Data
column’s own original-timestamp drop-down, which only changes what the
column displays.
6.6.4.1. Classic Contains Filter Field¶
The classic field filters the result entries by the entered phrase. You can paste a block of text, even with spaces, without surrounding it with quotes. Wildcards are supported:
The asterisk (
*) matches any number of characters.The question mark (
?) matches a single character at a specific position; used alone, it matches non-empty values.To search for one of these characters literally, escape it (
\*or\?). A single backslash must be written as\\.
6.6.4.2. RQL Field¶
The RQL field lets you define local filter criteria using the
Retrospective Query Language. By default, the entered terms apply
to the Data column; you may also target other columns using the
operators =, <, <=, >, and >= (see Columns).
Type =, < or > at the start of a term and a drop-down of column
names appears. The chosen name is inserted in front of the operator. The list
contains the visible standard and custom columns in the order the result table
shows them. It omits columns whose name contains a space, the
Data column (the implicit default), and the Date/Time
column (use
Filter result by date/time
instead). Press a letter key to jump to the first column name starting with
it. Each recalled query in the history is preceded by a sign indicating
whether it is valid or invalid in the current context.
Fig. 6.32 Typing an operator in the RQL field opens the column-name drop-down.¶
6.6.5. Log Level Column¶
By default, the log level appears in its own column in a normalized form (for
example ERROR) regardless of the language it was logged in (for example
GRAVE in French). When highlighting by log levels is active, rows of the
ERROR and WARN categories get the colors set on the Log Level
Definitions page. The single-line layout paints the
color behind the whole row; the multi-line layout paints it behind the level
name in this column. A log-level-specific icon appears in each row as long as
a log level can be detected. Windows event log entries use
levels of their own, shown in the interface language, see
Log Level Definitions.
The result table can be filtered by log level. Click
Filter result by log level to open a pop-up that lists all
distinct normalized log levels present in the result. Select the levels to
include and click Accept to apply; it appears when more than one
level is listed. Remove deletes an active filter, and clicking
outside closes the pop-up unchanged. The
icon
indicates that a log-level filter is active.
The levels are listed with the most severe one at the top. If the result
contains entries whose log level could not be detected, the list ends with a
NONE entry that selects exactly those entries. At least one level always
stays selected: clearing the last remaining one has no effect.
Fig. 6.33 The log-level filter pop-up listing the normalized log levels present in the result.¶
6.6.6. Sorting¶
Result rows can be sorted by the values of individual columns through a mouse click on the corresponding column header. A click on an already-sorted column inverts the order (ascending or descending). Sorting is active for a single column at a time, so clicking a header discards the previous column’s sort. The Data column holds the unstructured content of the entries and cannot be sorted.
Note
Sorting by the Date/Time column has a caveat. Retrospective has to guess the date (year, month, or day) of certain entries, and that date may not match the real creation date. Guessing happens when an application logs only the time, or when a manually configured data source uses a date format that retains only the time. In such cases the date is deduced as follows:
for a file, from the file modification date;
for a container, from the log-entry reception date.
6.6.7. Extended (Smart) Sorting¶
Extended Sorting considers several visible and hidden columns besides the main sort column. This produces a more accurate order, comparable to an SQL query ordered by several columns. It is applied whenever the number of result entries does not exceed the preference option Extended sort limit, and is automatically disabled above that threshold. The sort column itself does not matter: custom columns receive the extended chain just as the standard columns do.
When Extended Sorting is disabled, entries are sorted only by the selected
column. For example, sorting by Level leaves all entries of the
same level (such as INFO) in database-insertion order. Data collected from
multiple hosts is then not necessarily chronological.
When Extended Sorting is applied, sorting also considers secondary columns:
Primary sort column |
Secondary sort columns |
|---|---|
Date/Time |
Path → order of arrival |
Level |
Date/Time → Path → order of arrival |
Host |
Date/Time → order of arrival |
Path |
Date/Time → order of arrival |
Any other column |
Date/Time → Path → order of arrival |
Extended Sorting can take more time, depending on the size of the entries and their date/time distribution. The default Extended sort limit is 100,000 entries: above that, Extended Sorting is not applied. If you need it for larger result sets, raise the limit and observe the effect on performance; if sorting becomes too slow, lower it again and accept the imperfect ordering. When sorting only by Date/Time (the most common case), not having Extended Sorting applied is usually not a problem.


































