Hello, i search to convert hexa value in decimal value for performing.
I have found a ruby code in disucss but it's seems to be fail.
I use it to upload logs :
mutate {
convert => { "hexa_value" => "integer" }
}
ruby {
code => "event.set('hexa_value', event.get('hexa_value').hex)"
}
The error message :
[ERROR][logstash.filters.ruby ] Ruby exception occurred: undefined method `hex' for 2:Fixnum
Thank you