3.1. First Steps¶
This chapter covers your first run of Retrospective: importing the settings of a previous version, the window you see at first launch, and how you close the program.
3.1.1. Upgrade from a Previous Version¶
A previous version of Retrospective may already be installed on your computer. When you then launch a new program release for the first time, you see the Import all from previous version dialog (see Import from Previous Version). This choice imports the configuration together with the result data of the previous release. Result data is offered only on this first start, and only when an earlier release has a readable database. Otherwise the dialog is Import configuration from previous version. Retrospective restores the imported session on the next start, not in the run that performed the import.
3.1.2. First Time Use¶
When you launch Retrospective the first time, you see the window shown below.
The search tab, located on the right, provides the interface to the Retrospective core functionality. You need it to search data in one or several log files available locally or on remote computers accessible through SSH. You also need it to search the log data of Docker or Kubernetes containers.
Press one of the data source buttons above the
profile drop-down list to choose the
desired data sources. The buttons are
Choose
new files,
Choose new containers and
Choose new Event Logs for
Windows Event Logs. Then enter the search text and start searching. If
you leave the search text field empty, Retrospective reads all log data
from the selected data sources. If you enter a search text, the result
contains only log entries with this text.
To define more complex search criteria, add further criteria rows.
Use the
Add text search criterion and
Add time search criterion buttons for
this. You can combine criteria that match the time range and the
content of the desired log entries (see Defining Search Criteria).
Retrospective can also monitor the selected log files, containers and
Event Logs, and present matching data as soon as it appears. To switch to
monitor mode, click the arrow on the right of the
Start Search button and choose Monitor. The button
then reads
Start Monitor. Define your search
criteria and start monitoring (see Starting a Search or Monitor).
3.1.3. The Welcome Page¶
The welcome page (Welcome!), shown as a sidebar on the left, leads you to the three main parts of the program.
Choice |
Description |
|---|---|
Start searching or monitoring |
Opens a new empty search tab. There you press
|
Manage connections to remote computers |
Opens the Host Manager tab, where you define SSH hosts and Windows hosts. Such hosts are then available for ad-hoc search and monitoring, and in different profiles (see Host Manager). |
Manage profiles and data sources |
Opens the Profile Manager (Profiles tab), where you define persistent profiles. A profile groups files from one or several local drives, files from remote servers, containers or Event Logs. You can then search and monitor a complex set of data sources and see the retrieved result in a larger context (see Profiles). |
Selecting a choice leaves the welcome page open. Close it with the
Close button in its top-right corner. The
Show welcome page at startup checkbox at the bottom of the page
determines whether it appears on the next starts. The welcome page is not
shown when a saved session is being restored. You can re-open a closed
welcome page at any time with .
Fig. 3.1 Retrospective after the first launch.¶
3.1.4. Program Termination¶
Close Retrospective with the window close button or the menu item (Ctrl+Q). On macOS, the File menu has no Exit item: use Cmd+Q or quit from the application menu, which macOS provides. While a dialog such as Preferences or Confirm Exit is open, quitting from the application menu does nothing; close the dialog first. A Confirm Exit dialog asks Are you sure you want to close this application? before the program closes. It has the buttons OK and Cancel; Cancel is the default button, so pressing Enter keeps the program open. Select Always exit without prompt and click OK to close without being asked in the future. The option Show prompt at application exit on the General Preferences page brings the question back.
Fig. 3.2 The Confirm Exit dialog.¶
With Restore view from last session enabled on the General Preferences page, Retrospective saves the current session on termination. The session consists of the open tabs with their search criteria, their result display options and per-tab search toggles, the result data, and the window layout. Retrospective restores it on the next start (see Save, Reload and Manage Views). Restoring the session is a feature of the registered version (see What the Unregistered Version Can Do).
Re-attaching a large result takes a while. While it runs, the tab shows Indexing disk storage in place of the result table and the status bar shows the same, so you can see which tabs are still filling up. The result table appears as soon as its first entries are ready. Re-attaching follows the option Automatically restore result data; when it is off, Retrospective asks first.
If you close Retrospective before the result table appears, re-attaching stops and the result data stays saved. The next start re-attaches it.
A tab can contain a search criterion that cannot be saved, for example a regular expression that does not compile. If Restore view from last session is selected, Retrospective then selects that tab and shows Cannot persist current view in a message bar. The program stays open until you correct the criterion.