awslabs / flowgger

A fast data collector in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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