I upgrade logstash from 2.1.0 to 5.0.1 version i have error in filter-plugin-rubby.
here is the code that i had in version 2.1.0 and work correctlly
ruby {
code => "require 'digest/md5';
event['@metadata']['computed_id'] = Digest::MD5.hexdigest(event['message'])"
}
I have studied break changes but i cant make it correct, any one could help me