Skip to content

Ingestion

kifa ingest reads log lines from one or more sources and persists them to disk. Each line becomes one entry in the write-ahead log.

FlagDescriptionExample
--stdinRead from standard inputecho "log" | kifa ingest --stdin -d ./data
--fileTail a log file (repeatable)--file /var/log/app.log
--tcpListen on TCP address (repeatable)--tcp 127.0.0.1:5514
--udpListen on UDP address (repeatable)--udp 0.0.0.0:5515

At least one source is required. Sources can be combined.

Pipe from another process:

Terminal
my-pos-app | kifa ingest --stdin -d /var/lib/kifa

Send SIGINT (Ctrl+C) or SIGTERM for graceful shutdown. Kifa flushes pending data before exiting.

A second SIGINT forces immediate exit with code 130.