convert types reading from sql

Skip to first unread message

Phil Brown

Jan 16, 2022, 12:01:57 PM1/16/22
to Fluentd Google Group
new to fluentd.
reading the docs at
it says
"types (hash) (optional): Specify types for converting field into another
type. See below "The detail of types parameter" section."

but I cant find any good, specific examples of how to use it.
(it doesnt help that the "see below" reference does not seem to actually exist!)

Specifically, I want to read from mysql via the sql plugin, but then truncate a FLOAT type, to an INTEGER type, before passing it along to the output.

Reply all
Reply to author
0 new messages