Skip to content

CLI Reference

FlagDescription
-d, --data-dir <PATH>Directory for WAL, SSTables, and metadata (required)
-c, --config <PATH>Path to TOML configuration file
-h, --helpPrint help
-V, --versionPrint version

Run log ingestion.

FlagDescription
--stdinRead log lines from standard input
--file <PATH>Tail a log file (repeatable)
--tcp <ADDR>Listen on TCP address, e.g. 127.0.0.1:5514 (repeatable)
--udp <ADDR>Listen on UDP address, e.g. 0.0.0.0:5515 (repeatable)

At least one source is required.

FlagDescriptionDefault
--flush-mode <MODE>WAL flush mode: normal, cautious, emergencynormal
--segment-size-mib <N>WAL segment size in MiB (minimum: 1)16
--memtable-threshold-mib <N>Flush memtable after N MiB (minimum: 1)4
--compaction-threshold <N>Compact after N SSTables (minimum: 2)4
--no-compactionDisable background compaction
--channel-capacity <N>Internal channel buffer size (minimum: 1)1024

--compaction-threshold and --no-compaction are mutually exclusive.

Query stored log entries and print to stdout.

FlagDescriptionDefault
--from <TIME>Filter from time
--to <TIME>Filter until time
-f, --format <FMT>Output format: text, json, csv, hextext
--limit <N>Maximum entries to return1000

Relative (e.g.): 1h, 30m, 2d, 1h30m

Absolute: YYYY-MM-DD, YYYY-MM-DD HH:mm:ss, ISO 8601

Export log entries to a file. Writes are atomic.

FlagDescriptionDefault
-o, --output <PATH>Output file pathRequired
--from <TIME>Filter from time
--to <TIME>Filter until time
-f, --format <FMT>Output format: text, json, csv, hexjson
--limit <N>Maximum entries to export1000

Print storage statistics to stdout. Takes no additional flags beyond the global ones.

Output includes:

  • Total entry count
  • SSTable count and checkpoint timestamp
  • Memtable entry count
  • Current flush mode
  • Time range of stored entries