Inspector
The Inspector is the right panel - a details pane for the active document (the file in the active tab): what Windows knows about the file, how TKTail reads it, whether it is growing, where you are in it, the current record field by field, its alerts and monitoring.
| Top of the Inspector | Further down |
|---|---|
Show or hide it with View > Inspector (Ctrl+Shift+I); the header buttons collapse it to a rail or hide it, and its width and the open/closed sections are remembered. Selecting a file in the Explorer does not change the Inspector - opening it does.
At the top
- The file’s icon, name and folder (click the folder to show the file in the Explorer).
- Badges:
LIVEorPAUSED(with the number of new lines while paused),MONITOREDwhen the file is monitored in the background, and a warning such as File missing when the file has disappeared. - Quick actions: Pause / Go Live, Find (Ctrl+F), Alert (add an alert for this file) and … with Copy Path, Copy File Name, Go to Line or Offset, Reveal in File Explorer, Open Containing Folder, Open Terminal Here and File Properties.
- Every value can be copied: right-click it (or select the row and press Ctrl+C) for Copy Value, Copy Name and Copy Name and Value - always the full value, also when it is shortened on screen. Long record values are shown over a few lines.
Sections
Click a section title to open or close it. File, TKTail, Live, Position, Record, Alerts and Dated Series are open by default; Monitoring, Rotation and Engine are closed. A short summary stays visible next to a closed section’s title.
| Section | Shows |
|---|---|
| File | Type (as Windows names it), size, created and modified time, folder |
| TKTail | Encoding, format and how it was chosen (resolution, configuration, rule, what the content detector says), line endings, number of lines (once the line index is complete), whether the file is indexed, rotation policy, dated rotation (for a file whose name carries a date), monitoring, alert rules |
| Live | Only while the file grows or you have unread new lines: LIVE/PAUSED, growth per second, lines per second (complete new lines, the same numbers as the status bar), time of the last append, new lines while paused, growth since opening |
| Time range | The file’s time range: the smallest and largest record time (From, To, Span) and how many records have a time; Reading… / Partial / Not read yet until every record was read (click to read them), Not available for files without record times; Go To Time |
| Position | Line and column of the caret (the same numbers as the status bar and the RECORD view), byte offset, position (%); for a record of several lines also where it starts; the size of a selection |
| Record | The current record (see below) |
| Monitoring | How changes are found: the Refresh mode (Auto, Event or Poll with its interval - click to change; see Files on network shares), Detection (notifications and / or checks every …), Location (local disk or network share), Connection for a network file (online, offline, reconnecting), the last check and the last change seen; whether the file is monitored in the background (also without a tab), and the last file event (rotation, truncation, missing, network source unavailable / back) |
| Alerts | The file’s alert rules, unread alerts, time and rule of the last alert, Add Alert… |
| Rotation | Rotation policy, the file’s identity (volume and file id) and the last rotation |
| Dated Series | Only for a file whose name carries a date: Mode (Auto / On / Off), State and why it is not followed, the Pattern (app_{YYYY-MM-DD}.log; from the name, confirmed by the files in the folder, or chosen), Current, Next file, Previous files kept, Last switch, how the folder is watched - see Rotating dated log files |
| Engine | Memory of the document and its line index, cache size, index coverage - for the curious |
Blue values are actions - the same commands as in the menus:
| Value | Click to |
|---|---|
| Folder | Reveal the file in the Explorer |
| Encoding | Choose an encoding (View > Encoding) |
| Format | Choose a record format (View > View As); a detected format shows its confidence, the Evidence for it and the Other candidates that were ruled out (and why) |
| Resolution | Explain Format Resolution: every step that decided (or not) for this file |
| Configuration | Edit Local Configuration: the .tktail that chose the format |
| Indexed (while building) | Build the full line index now |
| Rotation | Follow the pathname (tail -F) or the original file (tail -f) |
| Dated rotation, Mode, Pattern | Auto / On / Off for this file, the reading of its name, previous files kept open (Trial / Pro) |
| Refresh | Choose Auto, Event or Poll and its interval (500 ms to 1 h) for this file |
| Background | Turn background monitoring on or off |
| Alerts | Add an alert |
| State (Live) | Pause / Go Live |
| Line, Byte offset | Go to a line or offset (Ctrl+G) |
How the format was chosen
| Row | Shows |
|---|---|
| Format | The format in use: chosen (View As), configured (a .tktail), detected, high confidence (content detection), no format matched (Plain Text) |
| Resolution | Where it came from: View As (this session), File rule, Folder rule, Folder configuration (the folder default), Inherited configuration (a .tktail in a folder above), Profile association (a custom profile that names such files), Auto-detected · high confidence, Previous file of the series (a rotating dated log’s new file whose content says nothing yet), Fallback |
| Configuration, Rule | The deciding .tktail and its rule (folder default when no rule matched) |
| Auto detector | When something else decided: what the content alone says - agrees, or differs (for example a .tktail says Plain Text, the content looks like a Qlik trace) |
| Content detector | When a custom profile’s detection rules decided but the content clearly looks like another format: that format and differs (for example a profile for .log files claimed an IIS log) |
| W3C fields | IIS logs: how many columns, and whether they come from the file’s #Fields directive or the assumed IIS default layout |
| Configured | A configured custom profile that is not installed or disabled - the next step decided instead |
| Configuration (warning) | A .tktail that is not valid and was ignored, or one that changed while a View As choice stays in force |
Folder formats explains .tktail files and the order of the steps.
The current record
The record shown is the one the caret is in - in the pane you are working in when the file is split. The status bar, the RECORD view and the Inspector always show the same position and the same record (also while you select text: the caret’s end counts).
- Structured formats (JSON, logfmt, CSV, syslog, FIX, application logs, …): every field
as name - value, nested fields indented, dictionary meanings in grey (for example FIX
message types). An
ERROR/FATALlevel is shown in red. Click a field to mark its exact characters in the log (the caret goes there, as when you pick it in the RECORD view); the field the caret is in is shown selected. A long value is shortened on screen with its length next to it (hover shows it, copy takes all of it); Inspect Record (RECORD) opens the RECORD view with the whole record - Source, Fields and Summary. - Plain text: line number, byte range, length, the time TKTail saw the line arrive, and the text itself (wrapped, at most 2,000 characters).
For logs whose entries span several lines (an application log with stack traces or payloads), the record is the whole entry: the caret may be on its first line or on any line after it. Its message includes the lines after the first one, line breaks kept.
Records longer than 1 MB are shown shortened and not split into fields.
Working with values
- Click a row to select it; Up/Down move the selection, Left/Right close/open its section, Ctrl+C copies the value.
- Hover a shortened value to see it in full.
- Right-click a row: Copy Value, Copy Name, Copy Name and Value. For record fields also:
| Item | What it does |
|---|---|
| Find This Value | Find the value in this file |
| Find Records with This Field | Find records that have this field (field exists) |
| Find Field = Value | Find records where the field has this value (level = ERROR) |
| Find Value in Folder… | Search the contents of the file’s folder for the value (Explorer) |
| Create Alert for This Value… | The alert dialog, prefilled with the value |
| Create Alert for Field = Value… | The alert dialog, prefilled with the field condition |
Field searches use the find bar’s Fields mode, so they work for every record format.