Is there any example of logstash-filter with loading *.jar


#1

I'm trying to use in my custom logstash filter a Java code bundled in .jar. I tried to play with lock_jar which downloads all dependencies of .jar. The .jar and all its dependencies are then added to lib/java and bundled in gem.
When I run my filter in logstash I keep getting could not load Java class 'com.company.app.ClassA'.

I'm looking for an example how to load in jruby a class from any .jar (.jar with dependencies).


(system) #2

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