tlog-play.conf(5)
β¨ NAME β¨
okay so bestie, welcome to tlog-play.conf(5) β this is the manual for the tlog-play.conf configuration file, aka the lil glow-up doc that tells tlog-play how to behave. it's giving "File Formats Manual" energy and honestly? iconic. π
πΈ DESCRIPTION πΈ
tlog-play.conf is a JSON-format configuration file for the tlog-play program. now, plot twist: even though strict JSON says "no comments, bestie," this file is not like other files β both C and C++ style comments are allowed in it. so go ahead and annotate your config, you've earned it. β¨
the file has to contain a single JSON object with the objects and fields described below. some of them are optional and just assume a default value if you don't show up for them. and the ones that do require a value? you can still totally omit them and pass them to tlog-play via command-line options instead. flexible queen behavior. π
π OBJECTS AND FIELDS π
π«Ά Root object
reader(string) β the type of "log reader" to use for retrieving log messages. the reader you pick needs to be configured using its own dedicated parameters, so don't leave it hanging. one of:"file","journal","es". default:"file".file(object) β the File reader object, see below. πes(object) β the Elasticsearch reader object, see below. πjournal(object) β the Systemd journal reader object, see below. πpersist(boolean) β iftrue, ignore any keyboard-generated signals and the quit key. yes, really. it just won't quit on you. default:false.lax(boolean) β iftrue, ignore missing (dropped, or lost) log messages. otherwise it reports an error and aborts when a message is missing. default:false.
ngl, lax: true is the "we don't talk about the dropped messages" setting. choose wisely, bestie. π
π file - File reader object
path(string) β the path to the file the"file"reader should read logs from. no default. π«match(string) β the recording id of the recording the"file"reader should seek to for playback. no default. π«
π es - Elasticsearch reader object
baseurl(string) β the base URL to request Elasticsearch through. should not contain query (?...) or fragment (#...) parts. no default. π«query(string) β the query string to send to Elasticsearch. no default. π«verbose(boolean) β iftrue, enable verbose output on the Elasticsearch HTTP client. default:false.
π EXAMPLES π
a configuration specifying only the reader β minimal, lowkey, does the job:
{
"reader": "file"
}
a configuration specifying the Elasticsearch reader, along with the base URL:
{
"reader": "es"
"es" : {
"baseurl": "http://localhost:9200/tlog/tlog/_search"
}
}
π SEE ALSO π
tlog-play(8), http://json.org/ β go read these too, fr fr. π
π AUTHOR π
Nikolai Kondrashov <spbnick@gmail.com> β the main character who wrote this. we stan. π«Ά
and that's a wrap on the tlog-play.conf(5) manual page, bestie!! this was Tlog, dated March 2016 β yeah, she's a vintage icon and she still ate. go configure something cute. periodt. π
β¨π
π¦ where this page comes from
- centos-stream 10: tlog 14-4.el10 Β· GPL-2.0-or-later
- centos-stream 9: tlog 14-1.el9 Β· GPLv2+
- centos-stream 9: tlog 14-1.el9 Β· GPLv2+
- debian bookworm: tlog 12.1-2 Β· GPL-2.0-or-later
- fedora 43: tlog 14-6.fc43 Β· GPL-2.0-or-later
- fedora 43: tlog 14-6.fc43 Β· GPL-2.0-or-later
- fedora 44: tlog 14-7.fc44 Β· GPL-2.0-or-later
- fedora 44: tlog 14-7.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: tlog 12-1 Β· GPL-2.0-or-later
- ubuntu noble: tlog 14-1build2 Β· GPL-2.0-or-later
- ubuntu questing: tlog 14-2
- ubuntu resolute: tlog 14-2.1 Β· GPL-2.0-or-later
- ubuntu stonking: tlog 14-3 Β· GPL-2.0-or-later
- Copyright (C) 2016 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms