title: Logstash config, "if string contains..."
body: <p>So, let's assume that I have a portion of a log line that looks something like this:</p>
  
  <pre><code>GET /restAPI/callMethod1/8675309
  </code></pre>
  
  <p>The GET matches a http method, and get's extracted, the remainder matches a URI, and also gets extracted.  Now in the logstash config let's assume that I wanted to do something like this...</p>
  
  <pre><code>if [METHOD] == "GET" {
      if [URI] (CONTAINS &lt;--Is there a way to do this?) =="restAPI/callMethod1"{
          ....
  </code></pre>
  
  <p>Is there some way to do this?  If so how would I go about doing that?</p>
  
  <p>Thanks </p>