mirror of
https://github.com/Febbweiss/docker-log-centralizer.git
synced 2026-03-04 14:25:35 +00:00
11 lines
467 B
Plaintext
11 lines
467 B
Plaintext
template(name="ls_json"
|
|
type="list"
|
|
option.json="on") {
|
|
constant(value="{")
|
|
constant(value="\"@timestamp\":\"") property(name="timereported" dateFormat="rfc3339")
|
|
constant(value="\",\"message\":\"") property(name="msg")
|
|
constant(value="\",\"host\":\"") property(name="hostname")
|
|
constant(value="\",\"programname\":\"") property(name="programname")
|
|
constant(value="\",\"procid\":\"") property(name="procid")
|
|
constant(value="\"}")
|
|
} |