Skip to content
Frank Denis edited this page Oct 1, 2015 · 1 revision

The LTSV encoder rewrites parsed message as LTSV entries.

This encoder can be selected in the output section of the configuration file:

[output]
type = "ltsv"

Before the rewrite, additional key/value pairs can be added, or existing entries can be overridden. This can be used to add authentication tokens that have to be kept secret from client applications.

A [output.ltsv_extra] section can be present in the configuration file to enable this feature:

[output.ltsv_extra]
x-auth-token = "deadbeef"
another-token = "secret"
Clone this wiki locally