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

Where TKTail stores data, privacy and cleanup

TKTail keeps everything on this computer. It contacts nothing over the network, has no telemetry and no cloud sync, and its license works offline; it answers AI clients over HTTP only if you turn that on (AI integration). Settings > Files & Storage shows every location below with Open and Copy.

The data folder

Where
Normally%LOCALAPPDATA%\TKTail - per Windows user (for example C:\Users\<you>\AppData\Local\TKTail)
A folder you choseSettings > Files & Storage > Change Data Folder… - from the next start
Portabledata beside TKTail.exe, when a file named TKTail.portable is there (or with --portable)

tktail portable status prints which one is in use.

Forensic Mode (--forensic) reads the data folder but writes nothing to it, or anywhere else TKTail would write: everything stays in memory for the session; with --output-root only Evidence and reports are written, below that folder.

Changing the data folder - choose a folder on a local disk (not a network share); TKTail checks that it can write there and asks before it changes anything. The new folder is used from the next start; TKTail moves and deletes nothing. Your settings, workspace, alerts, incidents, custom formats, Saved Searches, Metric Sets and logs stay in the old folder: to take them along, exit TKTail and copy the old folder’s contents into the new one. Use the Default Data Folder goes back the same way. If the chosen folder cannot be used at a start (a removed drive), TKTail uses the default folder for that run and says why in the status bar and in Problems - the data in the chosen folder stays where it is. (The choice itself is the one line in %LOCALAPPDATA%\TKTail\data-folder.txt.)

What is in it

Your data - kept until you change or delete it:

File or folderContents
settings.iniSettings (Settings)
workspace.jsonThe main window’s tabs and splits, reopened at start (When TKTail starts again)
recent.txtRecent files and folders (paths and times only)
Alerts\Your alerts, one file each
alerts.jsonlThe alert history (limited by Settings > Alerts & Incidents)
monitors.jsonYour conditional monitors: their names, Metric Sets or file paths, activations (Conditional and scheduled monitoring)
activations.jsonThe activations running now (which alert started what, until when) - so they continue after a restart
activation-history.jsonlWhat was activated, ended or refused, and why (the newest 5,000 to 10,000 lines); names and times, never log text
Incidents\Alert incidents and their evidence: the records, events and metric samples an alert kept (limited by count, age and size; pinned ones stay)
Evidence\Evidence packages (Saving evidence): packages\*.zip with their .sha256, the library’s catalog.jsonl - kept until you delete them (bounded by Settings > Alerts & Incidents > Evidence packages)
Pinned Searches\Your pinned searches, kept across restarts: each search and where its results are - not the logs’ text
jobs.jsonlThe Jobs history (Jobs): the newest 500 finished jobs of the last 7 days - when, what for, who started them, how they ended; never results or log text. Settings > Privacy & Cleanup > Keep the Jobs history across restarts
AiInvestigations\What AI clients did through TKTail - one file per investigation (their tool calls, decisions and references, protected; never their prompts or reasoning) - for 30 days after it ended, at most 64 MB and 500 investigations (AI investigation activity); none when it is kept in memory only
ai-data-protection.jsonYour own AI data protection rules - what is masked in everything sent to AI assistants (optional; Tools > AI Data Protection… - Protecting secrets from AI)
redaction-rules.jsonYour own redaction rules for evidence packages (optional; you write it - Saving evidence)
Formats\Your custom format profiles (Custom formats)
Searches\Saved Searches
metric-sets.jsonYour Metric Sets
logs\TKTail’s own application log (rotated: Settings > Logging)
TKTail.licenseYour license, when you entered it in TKTail (License)
mcp-http.tokenThe token AI clients use over HTTP, encrypted for your Windows user (AI integration); made the first time HTTP is used
node.idThis TKTail’s random node ID, which AI clients see in every answer (Which TKTail answered); made once, never derived from your computer

Temporary files TKTail makes and removes again:

WhatWhereRemoved
Evidence copies (Incidents > Open Evidence as Log)%TEMP%\TKTail\Evidenceby Settings > Privacy & Cleanup > Remove evidence copies (default: a day after they were made, when TKTail starts) and by Clean Now - never one a tab shows
A compressed log or archive entry opened as a tab - its decoded copy (Compressed files and archives)%TEMP%\TKTail\Archivewhen its tab closes, when TKTail exits, and at the next start (after a crash) - never one another running TKTail shows
An interrupted save (settings.ini.<number>.tmp and similar)the data folderat the next start, and by Clean Now
A linked window’s start request (TKTail-linked-....json)%TEMP%when the window reads it; one left over a day by Clean Now
An export or saved results being written (<your file>.tmp)beside the file you chosewhen the export ends, fails or is cancelled

TKTail keeps no settings in the Windows Registry. The only Registry and profile entries are the optional Windows integration ones you turn on (startup, Explorer, shortcuts), removed with Remove All….

A .tktail file in a log folder is written only when you choose a format for a folder there (Folder formats).

Privacy

  • Logs you open stay where they are. TKTail reads them; it never copies them, except what an alert keeps as incident evidence, an export or copy you ask for, and the decoded copy of a compressed log or archive entry you open as a tab (in TKTail’s temporary folder, removed with the tab).
  • Alerts keep a short preview of the matching line in the alert history (Settings > Alerts & Incidents: the line, only the matched text, or no text) and, in an incident, the records around the match. Windows notifications show the matching text unless you turn that off.
  • History: recent files and folders, search terms and Search Results sessions (their queries only) are remembered; Settings > Privacy & Cleanup turns each off and clears them.
  • The application log leaves file paths out unless you turn them on (Settings > Logging).
  • AI clients (MCP) get nothing until you allow AI access, then read only what is open in TKTail - plus the files your AI access rules allow - with secrets masked by AI Data Protection; see AI integration and Security and administration. Their answers name this TKTail by random IDs; your computer name and Windows account only if you tick them in Settings > AI Access.
  • The license is verified on this computer; nothing is sent.

Cleanup

Settings > Privacy & Cleanup > Clean Now removes TKTail’s temporary files that nothing uses now - it lists the places first:

  • evidence copies no tab shows (any age),
  • files an interrupted save left beside TKTail’s data,
  • linked-window start requests that are a day old.

It never removes your logs, exports, settings, alerts, incidents, custom formats or anything TKTail did not make; a file another program holds open is kept. The status bar says what was removed.

Persistent data has its own limits rather than a cleanup: the alert history and incidents (Settings > Alerts & Incidents), the application log (Settings > Logging), recent lists (Settings > Privacy & Cleanup).

Removing TKTail

  1. Settings > Windows Integration > Remove All… (or tktail integration remove-all --yes).
  2. Exit TKTail and delete TKTail.exe (and its folder, for a portable copy).
  3. Delete the data folder - %LOCALAPPDATA%\TKTail, or the folder you chose - if you do not want to keep your settings, alerts and incidents.