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

Built-in formats

TKTail reads 35 log and data formats without any setup, plus plain text and two generic parsers you configure yourself. This page lists every format of this version, straight from the program’s format registry.

How TKTail chooses the format of a file: what you pick with View > View As comes first, then a folder’s .tktail file, then your own formats that name files like it, then detection from the content, then file-name hints - otherwise the file is plain text (the whole order). The Inspector says which format was chosen and why (Inspector).

Your format is not here? Make it in the Custom Format Studio from a sample of your log: Your own log formats.

38 formats: 23 implemented, 15 partial.

Reading the tables

  • ID - the name on the command line (tktail open app.log --format jsonl); a .tktail file and AI clients write it as builtin:<id>.
  • Multi-line - one record can span several lines (a stack trace stays with its error), shown and searched as one.
  • Fields - the RECORD view and the Inspector show the record’s fields.
  • Field search / Field alerts - search and alert conditions on the fields (Search, Alerts and monitoring).
  • Status - implemented: the format works as described; partial: it works with the limitation in its note.
  • Extensions - file-name hints, used when the content alone does not decide.

Log formats

Application, web server, database, container and system logs.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
IIS W3C Extended Logiisyesyesyesimplemented
PostgreSQL CSV logpgcsv.csvyesyesyespartial
logfmt / key=valuelogfmtyesyesyesimplemented
Syslog (RFC 3164)syslog3164yesyesyesimplemented
Syslog (RFC 5424)syslog5424yesyesyesimplemented
Apache Common Logapache-commonyesyesyesimplemented
Apache Combined Logapache-combinedyesyesyesimplemented
Nginx access (combined)nginxyesyesyesimplemented
MySQL General Query Logmysql-generalyesyesyespartial
Kubernetes CRIcriyesyesyesyesimplemented
Docker json-filedockeryesyesyesimplemented
Serilog CLEF (JSONL)clef.clefyesyesyesimplemented
PostgreSQL JSON logpgjson.jsonyesyesyesimplemented
Application log + stack tracesapplogyesyesyesyesimplemented
MySQL Slow Query Logmysql-slowyesyesyesyesimplemented
Qlik Script Traceqlik-script-traceyesyesyesyesimplemented
  • IIS W3C Extended Log - space; no header line. Field names from the #Fields directive in the head of the file (the IIS default layout when it has none); date + time form the UTC timestamp
  • PostgreSQL CSV log - comma, quoted with “; no header line. Multi-line quoted messages are not joined
  • Nginx access (combined) - Default ‘combined’ log_format; custom log_format via Custom Pattern
  • MySQL General Query Log - Statements spanning lines are not joined
  • Kubernetes CRI - Partial (P) records are assembled into logical records in the inspector (bounded)
  • Application log + stack traces - .NET / Java / Python stack traces grouped with their log line (heuristic)
  • Qlik Script Trace - The reload / script trace: a standalone HH:mm:ss line and the lines after it form one time block; loads, Lines fetched and control-statement script errors are recognized

Structured data

One JSON object per line, and documents TKTail highlights.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
JSONjson.jsonyespartial
JSON Lines / NDJSONjsonl.jsonl, .ndjsonyesyesyesimplemented
XMLxml.xml, .xsd, .xsl, .xslt, .config, .csproj, .props, .targets, .svgpartial
HTML (source)html.html, .htm, .xhtmlpartial
YAML (limited)yaml.yaml, .ymlpartial
  • JSON - Inspector/pretty work on the selected line or selection; multi-line documents are highlighted, not parsed whole
  • XML - Highlighting and tag matching; no element inspector yet
  • HTML (source) - Source highlighting only; never rendered or executed
  • YAML (limited) - Keys/scalars/comments highlighting only; no YAML structure parser

Delimited text

Columns separated by a character; the first line may name them.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
CSV (comma)csv.csvyesyesyespartial
CSV (semicolon)csv-semicolon.csvyesyesyespartial
TSV (tab)tsv.tsv, .tabyesyesyesimplemented
Delimited (pipe)delimited-pipe.psvyesyesyespartial
  • CSV (comma) - comma, quoted with “; header line detected. Quoted fields containing line breaks are not joined into one record
  • CSV (semicolon) - semicolon, quoted with “; header line detected. European / Qlik exports (decimal commas stay in their values); quoted fields containing line breaks are not joined into one record
  • TSV (tab) - tab; header line detected. No quoting: a tab always separates fields
  • Delimited (pipe) - pipe, quoted with “; header line detected. Quoted fields containing line breaks are not joined into one record

Security events

Event formats of security products.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
CEF (ArcSight)cefyesyesyesimplemented
LEEF (QRadar)leefyesyesyesimplemented

Protocols and messages

Messages made of segments and fields.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
HTTP transcripthttp.httpyesyesyesyespartial
FIXfix.fixyesyesyesimplemented
HL7 v2hl7.hl7yesyesyesyesimplemented
ANSI X12x12.x12, .edi, .837, .835, .850yesyesyespartial
UN/EDIFACTedifact.edi, .edifactyesyesyespartial
  • HTTP transcript - Request/status line + headers; body is a raw range
  • FIX - Small built-in tag dictionary; unknown tags shown by number
  • HL7 v2 - Segments/fields/components; no message-type dictionaries or validation
  • ANSI X12 - Segments/elements/components; envelope hierarchy and dictionaries not yet
  • UN/EDIFACT - Segments/elements/components with UNA separators; no directories

Configuration files

Keys and values.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
INIini.ini, .cfg, .infyesyesimplemented
Java propertiesproperties.propertiesyesyespartial
.envenv.envyesyesimplemented
  • Java properties - Backslash line continuations are not joined

General

Text without a structure TKTail knows.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
Plain Texttext.txt, .logimplemented

Configurable in the settings file

Generic parsers you configure yourself - for a shareable definition with an editor, use your own log format.

FormatIDExtensionsMulti-lineFieldsField searchField alertsStatus
Custom Delimiteddelimitedyesyesyespartial
Custom Pattern (regex)patternyesyesyespartial
  • Custom Delimited - Delimiter/header configured in the settings file (no editor UI yet)
  • Custom Pattern (regex) - Regex with (?<name>…) groups from the settings file; no editor UI yet