Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Explorer

The Explorer is the left panel: one place for every source TKTail opens. Its tree has two roots:

  • Files - Favorites, Recent Folders and This PC: browse log folders and open files without leaving TKTail. It is not a file manager (no delete, rename or move).
  • Windows Event Logs - Application, System, Security and the Applications and Services Logs of this computer. See Windows Event Log.

Show or hide it with View > Explorer (Ctrl+B), or move the keyboard focus to it with Ctrl+Shift+E (F6 cycles through the panes). The ‹ button in the header collapses the panel to a narrow rail (click the rail to expand it again); × hides it. Hiding or collapsing keeps the current folder, history and selection. Drag the panel’s edge to change its width.

Parts of the panel

  1. Navigation bar - Back, Forward, Up, Refresh on the left; the star adds or removes the current folder from Favorites; … opens more options.
  2. Address box - the current folder. Type or paste a path and press Enter (UNC paths such as \\server\logs, long paths and %VARIABLES% work; folder names are completed while you type). Typing a file path opens the file. The dropdown lists the folders you visited, your recent folders and favorites. The folder button next to it opens the folder picker.
  3. Tree - under Files: Favorites, Recent Folders and This PC (drives). Only folders are shown here; click a folder to show its files in the list below. Folders are read when you expand them, so the tree stays fast on slow or network drives. Under Windows Event Logs: the event logs (double-click one to open it) - read when you first expand the root.
  4. Splitter - drag the line between the tree and the list to give either more room; double-click it to restore the default. The position is remembered.
  5. Filter - shows only matching files of the current folder, e.g. *.log, *.log;*.json, app* (a word without wildcards matches anywhere in the name). The dropdown offers presets (all files, logs, structured logs, text files, protocols); × clears the filter.
  6. File list - the files of the current folder with their icon, size and modification time (time only for today). Click a column header to sort (again to reverse). Files that are open in TKTail are shown in bold. Hover a name for details.
  7. Status line - number of files, how many the filter hides, errors.

The list updates by itself when files appear, disappear or grow in the current folder.

Opening files

  • Double-click or Enter opens the selected file(s). If a file is already open, its tab is activated.
  • Ctrl+Enter opens in a new split to the right.
  • Drag the selected file(s) onto a pane to open them there, or near a pane’s edge for a new split on that side (Drag sources into the workspace). A folder dragged from the tree shows in the Explorer.
  • Select several files with Ctrl/Shift+click (or Ctrl+A) to open them together.
  • Opening a file from the list adds it to Recent Files and updates the Inspector, exactly like File > Open.

Context menus

Right-click a file (or a selection of files):

ItemWhat it does
Open / Open SelectedOpen in tabs (LIVE)
Open in Split Right / BelowOpen in a new pane next to / below the current one
Open and Go LiveOpen and follow the end
Monitor in Background / Stop MonitoringKeep watching the file (alerts) even without a tab - see Alerts and monitoring
Add Alert…Open the file and create an alert rule for it
Search in File…Open the file paused and show the find bar
Copy Full Path / Copy File NameCopy to the clipboard (one line per file)
Open Containing FolderShow the file in Windows File Explorer
Open Terminal HereA terminal in the bottom panel, in the file’s folder
Windows Context Menu >The usual Windows menu for the file(s) - see below
PropertiesThe Windows Properties dialog

Right-click a folder or drive in the tree: Browse Here (for a favorite: Open), Search Files…, Search Contents…, Open Terminal Here, Add to / Remove from Favorites, Copy Path, Open in Windows Explorer, Windows Context Menu, Properties, Refresh. The Favorites root offers Add Current Folder to Favorites, Recent Folders offers Clear Recent Folders, This PC offers Refresh (e.g. after plugging in a drive).

The Windows context menu

Windows Context Menu > shows the same menu Windows File Explorer would show (Open with, Send to, your archiver, version control, …). TKTail asks Windows for it only when you open that submenu, because programs that add items to it run inside TKTail while the menu is built. Shift+right-click opens the Windows menu directly.

Favorites and recent folders

  • Favorites are folders you choose; they stay until you remove them. Use the star button, the folder context menu or tktail favorites add <folder>.
  • Recent Folders fill themselves: the folders of files you open and folders you go to from the address box or the command line. File > Recent Folders shows the same list; tktail recent folders prints it.

Windows Event Logs

Expand Windows Event Logs to see the logs of this computer: Application, Security, Setup, System, Forwarded Events and, under Applications and Services Logs, the logs of Windows components and programs grouped like Event Viewer groups them (Microsoft > Windows > PowerShell > Operational). Double-click a log, or select it and press Enter, to open it in a tab; right-click it for LIVE Only, Open with Filter… and Properties. Nothing of the Event Log is read until you expand the root. Details: Windows Event Log.

Reveal Current File

View > Reveal Current File in Explorer (also in the tab’s context menu) shows the panel, opens the folder of the active document in the tree and selects the file in the list.

The tree stops at the closest folder it shows if part of the path is hidden (for example AppData while hidden items are not shown); the file list still shows the file’s folder.

The … menu has Follow Active Document: when it is on, the panel moves to the folder of whichever tab you activate. It is off by default.

Searching folders

… > Search Files in This Folder (or Search Files… on a folder) finds files by name, Search Contents of Files finds text inside the files. Both open Advanced Search with the folder as its scope (type the text, choose a regular expression or match case, Enter); the results appear in the bottom panel’s Search Results, which has room for the file, line and match; the Explorer keeps showing the folder’s files. The Explorer’s filter (for example *.log) limits which files a content search reads.

More options (…)

  • Show Hidden Items - include hidden and system files and folders.
  • Follow Active Document - see above.
  • Collapse All Folders, Refresh (F5), Copy Folder Path, Open in Windows Explorer.

Keyboard

KeyIn the Explorer
Alt+Left / Alt+RightBack / Forward
Alt+Up or BackspaceUp one level
F5Refresh
EnterOpen the selected files (list), open an event log or expand/collapse (tree), go (address box)
Ctrl+EnterOpen in a split to the right
Ctrl+A / Ctrl+CSelect all files / copy their paths
Typing a nameJumps to the first matching file or folder