<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Search results that do not contain a word in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-results-that-do-not-contain-a-word/m-p/15600#M1948</link>
    <description>&lt;P&gt;I tried for an hour but couldn't find the answer.
I need to search my syslogs from a specific host for entries that do not contain the word Interface my current search line is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="cisco_syslog" host="10.10.10.10"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="cisco_syslog" host="10.10.10.10" | regex _raw(=|!=) [\ )?Interface(\] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it doesn't work.&lt;/P&gt;

&lt;P&gt;I'm sure I'm close but I am terrible at regular expressions.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2010 04:21:28 GMT</pubDate>
    <dc:creator>mtxpert</dc:creator>
    <dc:date>2010-06-16T04:21:28Z</dc:date>
    <item>
      <title>Search results that do not contain a word</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-that-do-not-contain-a-word/m-p/15600#M1948</link>
      <description>&lt;P&gt;I tried for an hour but couldn't find the answer.
I need to search my syslogs from a specific host for entries that do not contain the word Interface my current search line is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="cisco_syslog" host="10.10.10.10"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="cisco_syslog" host="10.10.10.10" | regex _raw(=|!=) [\ )?Interface(\] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it doesn't work.&lt;/P&gt;

&lt;P&gt;I'm sure I'm close but I am terrible at regular expressions.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 04:21:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-that-do-not-contain-a-word/m-p/15600#M1948</guid>
      <dc:creator>mtxpert</dc:creator>
      <dc:date>2010-06-16T04:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Search results that do not contain a word</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-that-do-not-contain-a-word/m-p/15601#M1949</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;sourcetype="cisco_syslog" host="10.10.10.10" NOT "interface"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/User/StartSearching#Add_Boolean_expressions" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/User/StartSearching#Add_Boolean_expressions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 04:23:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-that-do-not-contain-a-word/m-p/15601#M1949</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-16T04:23:04Z</dc:date>
    </item>
  </channel>
</rss>

