Using wildcard on mutate for fieldname

I used below in logstash.config
mutate {
convert => { "goog*" => "float" }
But didn't work.
I want to convert all the fieldname getting prefix 'goog' TO float type.
What will I fix ?
I am waiting your help!

Wildcards don't work there. You'll have to use a ruby filter for the conversion. I'm sure examples have been posted in the past.

I can't find example post.
I need your help.

I found that didn't work convert by using exact fieldname.
in logstash.config :
mutate {
convert => { "googAccelerateRate" => "float" }
in real data: "googAccelerateRate": "0.18"

Why didn't work?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.