title: Splunk Query to find greater than
body: <p>I have a splunk log
  LOG: <code>"TOTAL NUMBER OF RECORDS IS:0"</code></p>
  
  <p>I need to Query it in a way that it find a log message if the number of records turn out to be more than 0</p>
  
  <p>I have tried the following</p>
  
  <pre><code> sourcetype=mylogs | rex "\d+:\d+:\d+\s(?&lt;TOTAL NUMBER OF RECORDS IS:&gt;\d+)$" | where TOTAL NUMBER OF RECORDS IS:&gt;=25
  </code></pre>
  
  <p>It gives a terminator Error</p>