convert types reading from sql

62 views
Skip to first unread message

Phil Brown

unread,
Jan 16, 2022, 12:01:57 PM1/16/22
to Fluentd Google Group
Hi,
new to fluentd.
reading the docs at https://docs.fluentd.org/configuration/parse-section
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
Forward
0 new messages