# 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](https://tktail.dev/help/local-configuration/), then your [own formats](https://tktail.dev/help/custom-formats/) that name files like it, then detection from the content, then file-name hints - otherwise the file is plain text ([the whole order](https://tktail.dev/help/local-configuration/#the-order-tktail-follows)). The Inspector says which format was chosen and why ([Inspector](https://tktail.dev/help/inspector/)).

Your format is not here? Make it in the Custom Format Studio from a sample of your log: [Your own log formats](https://tktail.dev/help/custom-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](https://tktail.dev/help/search/), [Alerts and monitoring](https://tktail.dev/help/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.

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| IIS W3C Extended Log | `iis` |  |  | yes | yes | yes | implemented |
| PostgreSQL CSV log | `pgcsv` | `.csv` |  | yes | yes | yes | partial |
| logfmt / key=value | `logfmt` |  |  | yes | yes | yes | implemented |
| Syslog (RFC 3164) | `syslog3164` |  |  | yes | yes | yes | implemented |
| Syslog (RFC 5424) | `syslog5424` |  |  | yes | yes | yes | implemented |
| Apache Common Log | `apache-common` |  |  | yes | yes | yes | implemented |
| Apache Combined Log | `apache-combined` |  |  | yes | yes | yes | implemented |
| Nginx access (combined) | `nginx` |  |  | yes | yes | yes | implemented |
| MySQL General Query Log | `mysql-general` |  |  | yes | yes | yes | partial |
| Kubernetes CRI | `cri` |  | yes | yes | yes | yes | implemented |
| Docker json-file | `docker` |  |  | yes | yes | yes | implemented |
| Serilog CLEF (JSONL) | `clef` | `.clef` |  | yes | yes | yes | implemented |
| PostgreSQL JSON log | `pgjson` | `.json` |  | yes | yes | yes | implemented |
| Application log + stack traces | `applog` |  | yes | yes | yes | yes | implemented |
| MySQL Slow Query Log | `mysql-slow` |  | yes | yes | yes | yes | implemented |
| Qlik Script Trace | `qlik-script-trace` |  | yes | yes | yes | yes | implemented |

- **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.

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| JSON | `json` | `.json` |  | yes |  |  | partial |
| JSON Lines / NDJSON | `jsonl` | `.jsonl`, `.ndjson` |  | yes | yes | yes | implemented |
| XML | `xml` | `.xml`, `.xsd`, `.xsl`, `.xslt`, `.config`, `.csproj`, `.props`, `.targets`, `.svg` |  |  |  |  | partial |
| HTML (source) | `html` | `.html`, `.htm`, `.xhtml` |  |  |  |  | partial |
| YAML (limited) | `yaml` | `.yaml`, `.yml` |  |  |  |  | partial |

- **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.

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| CSV (comma) | `csv` | `.csv` |  | yes | yes | yes | partial |
| CSV (semicolon) | `csv-semicolon` | `.csv` |  | yes | yes | yes | partial |
| TSV (tab) | `tsv` | `.tsv`, `.tab` |  | yes | yes | yes | implemented |
| Delimited (pipe) | `delimited-pipe` | `.psv` |  | yes | yes | yes | partial |

- **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.

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| CEF (ArcSight) | `cef` |  |  | yes | yes | yes | implemented |
| LEEF (QRadar) | `leef` |  |  | yes | yes | yes | implemented |

## Protocols and messages

Messages made of segments and fields.

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| HTTP transcript | `http` | `.http` | yes | yes | yes | yes | partial |
| FIX | `fix` | `.fix` |  | yes | yes | yes | implemented |
| HL7 v2 | `hl7` | `.hl7` | yes | yes | yes | yes | implemented |
| ANSI X12 | `x12` | `.x12`, `.edi`, `.837`, `.835`, `.850` |  | yes | yes | yes | partial |
| UN/EDIFACT | `edifact` | `.edi`, `.edifact` |  | yes | yes | yes | partial |

- **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.

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| INI | `ini` | `.ini`, `.cfg`, `.inf` |  | yes | yes |  | implemented |
| Java properties | `properties` | `.properties` |  | yes | yes |  | partial |
| .env | `env` | `.env` |  | yes | yes |  | implemented |

- **Java properties** - Backslash line continuations are not joined

## General

Text without a structure TKTail knows.

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| Plain Text | `text` | `.txt`, `.log` |  |  |  |  | implemented |

## Configurable in the settings file

Generic parsers you configure yourself - for a shareable definition with an editor, use [your own log format](https://tktail.dev/help/custom-formats/).

| Format | ID | Extensions | Multi-line | Fields | Field search | Field alerts | Status |
|---|---|---|---|---|---|---|---|
| Custom Delimited | `delimited` |  |  | yes | yes | yes | partial |
| Custom Pattern (regex) | `pattern` |  |  | yes | yes | yes | partial |

- **Custom Delimited** - Delimiter/header configured in the settings file (no editor UI yet)
- **Custom Pattern (regex)** - Regex with (?&lt;name&gt;...) groups from the settings file; no editor UI yet

---

The HTML page: https://tktail.dev/help/built-in-formats/
