title: Java Filter For Logstash
body: <p>You know how there is a Ruby filter for Logstash which enables me to write code in Ruby and it is usually included in the config file as follows</p>
  
  <pre><code>filter {
        ruby {
             code =&gt; "...."
        }
  }
  </code></pre>
  
  <p>Now I have two Jar files that I would like to include in my filter so that the input I have can be processed according to the operations I have in these Jar files. However, I cannot (apparently) include the Jar file in the ruby code. I've been looking for a solution.</p>