13.4. Data Sources¶
Data Sources is a container page for the preferences of the individual data source types. Expand its node in the preferences tree to edit the preferences for Docker, Filesystem, Kubernetes and Windows Event Log.
13.4.1. Docker¶
Docker is a tool that makes it easier to create, deploy and run applications using containers. To discover Docker components and to fetch log data, Retrospective must find the docker command line interface (CLI) locally.
Fig. 13.3 The Docker preference page.¶
Command Line Interface (CLI)
Container Selection
Option |
Description |
|---|---|
Open last accessed directory |
Determines if the container selection dialog reopens at the last accessed directory. |
Log Entry Timestamps
When a container is started or stopped, Docker usually produces log data of a different format than the application it contains. A timestamp added to each delivered log entry helps Retrospective split and sort the log entries accurately.
Note
The added timestamp is produced by the Docker daemon. It can differ from the date/time logged by the application running in the container. Containers have their own time zone, which is UTC for most popular Docker images.
Option |
Description |
|---|---|
Let Docker add timestamps |
Instructs Docker to add a timestamp to each delivered log entry. To do
so, Retrospective invokes the |
Time zone fallback |
Determines if the container time zone is used as a time zone fallback. It applies to log entry timestamps that do not contain a time zone themselves. Has no effect when the container has the same time zone as the local computer. |
While both options are selected, a warning icon appears beside Time zone fallback. Its tooltip notes that this combination can lead to an unexpected result.
Note
These are default options. Changing them leaves existing Docker data source configurations unchanged.
13.4.2. Filesystem¶
File Selection
Option |
Description |
|---|---|
Open last accessed directory |
Determines if the file selection dialog reopens at the last accessed directory. |
Ignore hidden files |
When selected, hidden files and directories are ignored. They do not show up in the UI, such as the File Browser, and are skipped during search and monitoring. When unselected, they are treated like any other file or directory. |
Initial file selection mode (dialog) |
Default selection mode used when the file selection dialog is opened. |
Initial file selection mode (browser) |
Default selection mode used in the File Browser. |
ZIP Files
Option |
Description |
|---|---|
Alternate decoding character set |
Character set used to decode ZIP file entry names when decoding with
the default UTF-8 character set is not successful. The default is
|
13.4.3. Kubernetes¶
Kubernetes is a system for automating deployment, scaling and management of containerized applications. To discover Kubernetes components and to fetch log data, Retrospective must find the kubectl command line interface (CLI) locally.
Command Line Interface (CLI)
Container Selection
Option |
Description |
|---|---|
Preselected root directory |
Root directory preselected when the Kubernetes source selection is opened. The default is Namespaces. |
Open last accessed directory |
Determines if the selection reopens at the last accessed directory. |
Include label selectors in directories history |
Determines if label selectors are included in the history that provides quick access to previously selected directories. |
Log Entry Timestamps
While both options are selected, a warning icon appears beside Time zone fallback. Its tooltip notes that this combination can lead to an unexpected result.
Note
These are default options. Changing them leaves existing Kubernetes data source configurations unchanged.
13.4.4. Windows Event Log¶
The Windows Event Log is a detailed, chronological record of system, security and application messages stored on Windows operating systems. To discover event logs and providers and to fetch events, Retrospective must find a PowerShell command line interface (CLI) locally. On Windows the built-in Windows PowerShell is enough. We recommend installing the cross-platform PowerShell version 7.4 or higher, which Retrospective then uses in preference.
Note
PowerShell 7 reads event logs faster than the built-in Windows PowerShell.
The built-in one takes about one and a half times as long for most logs.
For the Security log, it takes three to four times as long. If you cannot
install software, PowerShell 7 is also available as a self-contained
archive that needs no installation. Unpack it and enter the full path to
pwsh.exe in the PowerShell field below.
Default transport for new hosts
Transport used to reach the event log of new hosts: WinRM or SSH. The default is SSH. This choice only presets the transport in the host editor, and you can change it per host. The info icon beside each option shows the same transport description as the host editor. See Choosing How Retrospective Connects for which one to pick.
This group is shown only when Retrospective runs on Windows. On macOS and Linux, WinRM cannot be used at all. There is no default to choose, and new hosts always start on SSH; see On macOS and Linux. The Command Line Interface (CLI) group below is also absent on those platforms. A local PowerShell serves only the local computer’s event logs and the WinRM transport.
Command Line Interface (CLI)
Option |
Description |
|---|---|
PowerShell |
Which PowerShell to run. The default This setting selects the PowerShell on this computer only. Event messages on a remote host are rendered by that host’s built-in Windows PowerShell. If the host’s Use PowerShell 7 if installed option is on, its PowerShell 7 renders them instead. So the setting does not affect how fast a remote Security log is searched. |
Event Source Selection
Option |
Description |
|---|---|
Open last accessed directory |
Restores the last visited host and directory when the Event Log Browser tab or the event log selection dialog opens. |
Cache metadata |
Keeps the fetched event log and provider lists of each host. Requesting them takes time and they rarely change. When unselected, the lists are fetched again whenever the Event Log Browser tab or the selection dialog opens. Reload always fetches them again. |
Structured view |
Sets the view that the Event Log Browser tab and the event log
selection dialog open in. When selected, they open in the structured
view, which splits event log and provider names at |
Non-splittable names |
Comma-separated names that the structured view keeps as one folder
instead of splitting them, for example |
Shrinked view |
Removes non-branched directories from the structured view. Their items are renamed and added to the parent directory. Ignored if Structured view is not selected. |
Ignore debug and analytic logs |
Hides debug and analytic event logs from the selection dialog. Search and monitoring skip these logs as well. |
Ignore empty logs |
Hides empty event logs from the selection dialog. Event providers are still listed regardless of whether they have created events. |
Ignore inactive providers |
Hides providers that have no events in any of their event logs. When unselected, all providers are listed without record counts, which can produce wrong results. Leave it selected unless you are debugging. |
Store root directories in history |
Determines if root directories are included in the history that provides quick access to previously selected directories. |
13.4.4.1. Event Format¶
The Event Format node below Windows Event Log sets how fetched events are reported.
‘Security’ Log
Option |
Description |
|---|---|
Report keywords in ‘Level’ column |
For the Security log, reports the event keywords in the result table’s Level column. |
Event Details
Option |
Description |
|---|---|
Report event details |
Appends the event data of each fetched event to its text. The data
appears as name/value lines below an |
Event details prefix |
Prefix put in front of the name of each named event detail. The
default is |
Include binary data |
Includes the binary payload of an event in the reported details. This data is often not human-readable. Available only while Report event details is selected. |
Event Attributes
Option |
Description |
|---|---|
Reported attributes |
The list of event attributes to be reported for each detected event.
The default is |
Attributes prefix |
Prefix prepended to reported attribute names. The default is |
Note
Retrospective writes the headings above the event details and the
reported attributes in the language of the user interface. The language
at the start of a search or monitor counts, for example
Ereignisdetails: and Attribute: in German. A search for a heading
word finds the attributes heading only when
Apply search criteria to event attributes is on. Events you
have already fetched keep their headings when you switch the language.


