Hi all,
In my data stream i have a "price" value that however is an integer (1399 for 13.99 and so on). I want to convert it to ease the visualization but i can't find any valid numeral.js option in Kibana so i though of adding a new field during the Logstash pipeline, something like this:
mutate {
copy => { "[Price]" => "[PriceCent]" }
}
mutate {
gsub => [ "[PriceCent]", "\d{2}$", "\.\d{2}$" ]
}
However it isn't working. Am I missing something in the regex or I have to rethink all the process?
Thanks