I have tried using Ruby filter to convert a decimal IP address to the dotted format. For some reason, it just fails. I have tried many ways, found with google, but not succeeded.
The filter just throws a rubyexception.
This is my lates version of ruby code:
code => 'event.set("[sourceipv4]",[event.get("sourceipv4")).to_i].pack("N").unpack("C4").join("."))'
Any hint on what is wrong here? I can't find out how to get an error message from ruby so that I would know what to try.