Add timestamps
peterwa88 opened this issue · comments
How can I add timestamp into each forwarded message in flowgger?
The following configuration does not work.
[input]
type = "tcp" ----->input message can be any type, I just want to add timestamp to each receive data package.
listen = "127.0.0.1:22"
framing = "line"
[output]
type = "stdout"
match = "*"
format = "json"
add_timestamp = true
Hi ! Yes, yes, please check the documentation, and use the syslog_prepend_timestamp option.