title: Splunk query for matching lines that do not contain text
body: <p>To find logging lines that contain "gen-application" I use this search query : </p>
  
  <pre><code>source="general-access.log" "*gen-application*"
  </code></pre>
  
  <p>How to amend the query such that lines that do not contain "gen-application" are returned ?</p>
  
  <p>source="general-access.log" != "<em>gen-application</em>" returns error : </p>
  
  <pre><code>Error in 'search' command: Unable to parse the search: Comparator '!=' has an invalid term on the left hand side: 
  </code></pre>