JSON output mode
Closed this issue · 1 comments
umputun commented
Add new parameter -j
/ --json
(env JSON
) to convert messages into JSON format
type jMsg struct {
Msg string `json:"msg"`
Container string `json:"container"`
Group string `json:"group"`
TS time.Time `json:"ts"`
Host string `json:"host"`
}
By default, it will be off.