I'm trying to do simple math calculations, e.g. convert a number to a decimal such as 93 => 0.93.
I've looked around and can't find the proper syntax to do this. Furthermore, I don't get any warnings in the logs, just see Logstash continuously restart (even with logging set to DEBUG).
Can anyone tell me what's wrong with my code syntax here? More importantly, can anyone tell me where to find what Ruby code (and supporting syntactical examples if possible) is supported in Logstash? The docs are pretty thin regarding the 'code' functionality within the Ruby filter.
I find it hard to believe that Logstash goes into a crash loop without any clues in the logs. --debug shouldn't be necessary and might just make it harder to find the interesting parts.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.