Closed abcfy2 closed 8 years ago
You need custom ruby code for that, you might to check the https://www.elastic.co/guide/en/logstash/current/plugins-filters-ruby.html
Thanks. Would you please give me an example? I'm not good at ruby, thanks.
I've already fix.
Could you share the way? I have the same issue now. Thanks!
+1
+1 @abcfy2
I got it just like:
ruby {
code => 'event.set("body", event.get("rbody").to_s)'
}
Here is my
rubydebug
output:I want to convert
logdetail.params
to astring
.But it seems not support by mutate now. How could I do ? And would this feature be add in the future?