Grok for Scala

How do i use the grok plugin in my Scala code to parse data?

Perhaps you can use jrubyc to compile the logstash-filter-grok gem (and its dependencies) into JVM class files that you can access from Scala. I wouldn't attempt this.

There is no direct way of using the plugin in scala without using ruby right?

The grok plugin is written in Ruby so no, you can't just use it directly in Scala.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.