Scroll to navigation

tlog-play.conf(5) File Formats Manual tlog-play.conf(5)

NAME

tlog-play.conf - tlog-play configuration file

DESCRIPTION

tlog-play.confis a JSON-format configuration file fortlog-playprogram.Contrary to the strict JSON specification, both C and C++ style comments areallowed in the file.

The file must contain a single JSON object with the objects and fieldsdescribed below.Some of them are optional and assume a default value.Those that do require a value can still be omitted and specified totlog-playvia command-line options.

OBJECTSANDFIELDS

Rootobject

The type of "log reader" to use for retrieving log messages. The chosenreader needs to be configured using its own dedicated parameters.

One of: "file", "journal", "es"
Default: "file"

File reader object, see below.
Elasticsearch reader object, see below.
Systemd journal reader object, see below.
If true, ignore any keyboard-generated signals and the quit key.

Default: false

If true, ignore missing (dropped, or lost) log messages.Otherwise report an error and abort when a message is missing.

Default: false

file-Filereaderobject

The path to the file the "file" reader should read logs from.

No default.

The recording id of the recording the "file" reader should seek tofor playback.

No default.

es-Elasticsearchreaderobject

The base URL to request Elasticsearch through. Should notcontain query (?...) or fragment (#...) parts.

No default.

The query string to send to Elasticsearch

No default.

If true, enable verbose output on Elasticsearch HTTP client.

Default: false

EXAMPLES

{

"reader": "file" }

{

"reader": "es"
"es" : {
"baseurl": "http://localhost:9200/tlog/tlog/_search"
} }

SEEALSO

tlog-play(8), http://json.org/

AUTHOR

Nikolai Kondrashov <spbnick@gmail.com>

March 2016 Tlog