The code that can be put into the ruby filter [1] - are there restrictions on it in any way, such as say it should be relatively simple/short? Can I put multi line ruby code in there? How do I require other gems in the code block?
Hello, currently there is no restrictions about the code or the size of the code.
If your code require some gems that are not included with logstash it is much easier to write your own plugin than to use the ruby filter.
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.