Terminal I/O logger

Download as .zip Download as .tar.gz View on GitHub

Tlog is a terminal I/O logging and playback package. It inserts itself (the tlog-rec tool) between the user terminal and the user shell, and logs everything that passes through as JSON messages.

The JSON messages are structured to be particularly suitable for storage and searching by ElasticSearch, plus for (limited) human review. At the same time, they preserve all the passed data and timing (with 1ms resolution).

At the moment terminal output playback is possible using the tlog-play tool directly from ElasticSearch URL with the supplied query.

See a tlog demo video:

Tlog is intended to be used as part of a larger user session recording solution, but is designed to be independent and reusable.