Logstash radius decoder

hi guys, im trying to decode radius udp packets, using udp input with plain codec i just see gibberish, y found this ruby gem can anyone tell me if it would be possible to decode packets using that ruby gem? or any other ideas are welcome...

https://www.rubydoc.info/gems/ruby-radius/1.1