fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

in_tail: control name of message field

Open katrielt opened this issue 9 years ago • 2 comments

Currently, the message field is hard coded to "log". It would be nice to be able to control that with a configuration (Say, change it to "message") for better compatibility. So, a log entry with no parser will be {"message": "log line"} instead of {"log": "log line"}

katrielt avatar Jul 04 '17 13:07 katrielt

@katrielt

I've added a new key option for tail input plugin, when set it value is used to store unstructured messages (available on GIT master)

edsiper avatar Jul 04 '17 19:07 edsiper

Fixed.

edsiper avatar Jul 18 '17 17:07 edsiper