6.3. File Browser¶
The File Browser shows the file system of the local computer and of your
remote servers. From it you pick the log files you want and start a new
search or monitoring activity on them. Open it from
, with
File Browser on the main toolbar, or with Ctrl+I. On
macOS, press Cmd+I. Only one File Browser tab is open at a time.
Navigate the file system to locate the directory that contains the log files you are interested in. Then create new search tabs from the files you select. The File Browser is laid out as three panes, used left to right.
Fig. 6.18 The File Browser.¶
Host list: pick the local drive or a remote server.
Add host: define a new host
directly from the File Browser.Path toolbar: for the local drive, the drive selector; the rest of the current directory as an editable field; buttons that go to the home directory and reload the directory list.
Directory navigator: browse the folders of the selected host.
File selection: check the log files to include.
Selection mode and filters: select the files individually or through a filter, list the files of a sub-directory level, and narrow the list.
Start search or monitoring: the buttons that open a new search tab for the selected files.
6.3.1. Choosing a Host¶
Pick local drive or a remote server in the host list on the
left. Remote servers are grouped in folders by cluster. You usually define
them in the Host Manager. You can also add a host with
Add host; Retrospective first asks for
the cluster, then opens the connection dialog. Right-click a remote server
and choose Edit host to change its definition; hosts are deleted
in the Host Manager. When you select a remote server, Retrospective connects
over SSH and shows the home directory of the
account the host definition uses.
When you add a host here, Retrospective checks the connection before it saves the host. If the check fails, the dialog shows the first error the check reported. If the connection works but the host’s operating system is not supported, the message starts with Operating system non-compliant.
Note
For a remote host, the initial folder opened in the directory navigator is the home directory detected on that host. The detected home directory is reported in Host compatibility information in the Host Manager.
By default, the File Browser and the Add Data Source(s) dialog open at the last accessed directory. This depends on Open last accessed directory on the File System preferences page. If that directory is no longer available, for example on an offline network share, the home directory is shown instead. A warning bar at the top then reports this until you close it.
Navigate to the folder that contains the log files you want to search or
monitor. Double-click a folder to open it; the .. entry at the top
navigates to the parent folder.
The path bar above the directory navigator and the file selection pane shows the current directory as clickable segments. Click a segment to go directly to that level. If the path is too long for the window, point to it to read it in full.
For the local drive, the drive selector switches between drives.
Navigate to home directory returns to the home
directory, and
Reload reloads the directory list.
The drive selector shows where the open folder is: a drive such as C:\,
a network location or a network share. The current directory field shows
the path below it, for example \logs\app. You can also type or paste a
full path into the field. When the folder opens, Retrospective moves the
drive or share part into the drive selector.
On Windows you can also reach a network share that has no drive letter: type
its UNC path, for example \\server\share, into the drive selector and
press Enter. In the Add Data Source(s) dialog this opens
the share and does not confirm the dialog. The share is the highest level
you can browse, because Windows offers no way to list the shares of a
server. The server part of the path bar is therefore not clickable, and the
navigator shows no .. entry there.
The drive selector lists the drives, then the network locations that Windows Explorer lists under This PC, then the network shares you have opened, each with the network icon. Once a typed share has been listed, it stays in the selector, also after a restart. To remove a share from the list, highlight it in the open drop-down and press Delete; the share that is open cannot be removed. Point to a network location in the selector to read its share. Inside a network location, the path bar starts with the location’s name.
In the open drop-down the arrow keys only highlight an entry; press Enter to open it, or click it. Esc, or clicking elsewhere, puts the selector back on the open drive or share.
6.3.2. Selecting Files¶
In the file selection pane you choose the log files and how they are
matched. Select the check boxes of the files you want, or right-click a file
and choose Start searching or Start monitoring. If no
file is checked, the file you right-clicked is checked for you.
Choose file selection mode offers two ways of
selecting. The tab opens in the mode set by the File System
preferences.
Icon |
Selection mode |
|---|---|
Select items individually: lets you select individual
files from the current directory. A file filter narrows the list: a
file appears only if its name matches the filter. The filter accepts
the wildcards |
|
Select items using filter: selects every file in the
current directory whose name matches a filter expression. An empty
filter or |
On a network share or a mapped network drive, a Windows shortcut (*.lnk) is
listed as a file. To open its target, double-click it, select it and press
Enter, or right-click it and choose Open shortcut target.
6.3.3. Files in Sub-directories¶
Logs are often sorted into folders by date, device or type. The file list can
show the files one, two or three folder levels below the open directory instead
of the directory’s own files. Click the arrow next to
Use the files of the sub-directories instead of this directory and
choose a level: Files 1 level below (direct sub-directories),
Files 2 levels below or Files 3 levels below.
Files of this directory switches back. The button then shows
with the chosen level as a number; clicking it switches the
levels off and on again.
With a level chosen, the Sub-directory filter field appears. It holds
one filter per level, each with the wildcards ? and *. The levels are
separated like the directory path: \ on the local drive under Windows, /
on a remote server and under Linux or macOS. Either separator can be typed. The
number of parts is the level: typing a separator adds a level, deleting one
removes it, and the button follows. An empty last part matches every
folder; an empty part before it is not allowed. The list updates shortly after you stop typing, or at once when you
press Enter. The Sub-directory column shows the folder of each
file below the open directory.
For example, logs stored as C:\Logs\2026-11-01\10.0.0.7\Firewall-01_1.log
are narrowed like this:
Open
C:\Logsand choose Files 2 levels below.Type
2026-11-*\10.0.0.*in the Sub-directory filter: every November date folder, then every device folder starting with10.0.0..Type
Firewall-*in the file filter: only the firewall logs.
Opening another directory or host, or
Reload above the
directories, switches the levels off again; the filter is kept for the next time.
Reload above the files keeps the level.
6.3.4. Directory, Sub-directory Filter and File Filter¶
A data source path is made of three parts, and each part has its own field:
Directory: the folder you open in the directory navigator or type in the path field. It names one folder, not a pattern of files.
Sub-directory filter: one filter per folder level below the directory, only when a level is chosen.
File filter: matches file names only. It never contains
/or\; a directory name typed there marks the field red.
The line under the toolbar puts the parts together. In
Select items individually mode it shows which folders are listed; in
Select items using filter mode it shows the data source path that
OK or the start buttons save, for example
C:\Logs\2026-11-*\10.0.0.*\Firewall-*.
When the directory path contains a wildcard, the directory list shows the matching folders. The file list stays empty and file selection is disabled until you open one of them or remove the wildcard.
When your selection is ready, click
Create new tab for searching in selected data source(s) or
Create new tab for monitoring selected
data source(s). The buttons are available when at least one readable file
is selected.
After working elsewhere in Retrospective you can return to the File Browser at any time and find the context from which you last triggered a search or monitoring action.
Further controls: an information bullet next to the host list and next to the selection mode explains them. The arrow in the path field, or ↓, lists previously visited locations. Right-click the directory navigator for Navigate to selection, Navigate to root and Navigate to home directory. The directory navigator has the columns Name and Modified, the file table Name, Modified, Type and Size; click a header to sort. The check box in the file table header selects all files, and clicking a row toggles its check box. A file you cannot read cannot be checked; Retrospective shows the Access Denied dialog instead.
6.3.5. Toolbar Controls¶
The toolbar above the directory navigator and the file selection pane gathers the navigation and selection controls.
Fig. 6.19 The File Browser toolbar: the host, directory and file selection toolbars side by side.¶
Drive selector: switch between the drives, the network locations and the network shares you have opened on the local computer, or type a share such as
\\server\shareand press Enter.Current directory: the path of the open folder below the drive or share; type a path or pick a previously visited location. A path you type without a drive or share opens below the one in the drive selector. Locations of a host that has since been deleted are no longer offered. If you enter a path that points to a file and press Enter, Retrospective opens the folder that contains it.
Reload: reload the folders of the open directory.
While the list loads, click the spinning icon to cancel.
Use the files of the sub-directories
instead of this directory: the arrow chooses how many folder levels below
the open directory are listed (see Files in Sub-directories).File filter: limit the listed files to those whose name matches the expression (wildcards
?and*); the drop-down lists previously used filters.
Reload: reload the files of the open directory.
While the list loads, click the spinning icon to cancel.
