<?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 Re: Is there a way to do a NOT IN search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275009#M82958</link>
    <description>&lt;P&gt;it's cutting off my example sorry&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2016 19:11:03 GMT</pubDate>
    <dc:creator>riotto</dc:creator>
    <dc:date>2016-10-27T19:11:03Z</dc:date>
    <item>
      <title>Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275004#M82953</link>
      <description>&lt;P&gt;something like;&lt;/P&gt;

&lt;P&gt;[search  index= myindex source=server.log earliest=-360 latest=-60 "&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 18:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275004#M82953</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2016-10-27T18:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275005#M82954</link>
      <description>&lt;P&gt;are you trying to search for everything EXCEPT &lt;CODE&gt;search index= myindex source=server.log earliest=-360 latest=-60&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 18:51:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275005#M82954</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-27T18:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275006#M82955</link>
      <description>&lt;P&gt;No, something like &lt;BR /&gt;
  earliest=-360 latest=-60 "&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 18:57:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275006#M82955</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2016-10-27T18:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275007#M82956</link>
      <description>&lt;P&gt;@riotto&lt;/P&gt;

&lt;P&gt;Can you give more details on what you're looking for with expected results? It's hard just figuring this out with only a search. People need more context here other than the same search you put in the content of your question.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:04:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275007#M82956</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-10-27T19:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275008#M82957</link>
      <description>&lt;P&gt;can't paste my example?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275008#M82957</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2016-10-27T19:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275009#M82958</link>
      <description>&lt;P&gt;it's cutting off my example sorry&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275009#M82958</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2016-10-27T19:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275010#M82959</link>
      <description>&lt;P&gt;when pasting your example, highlight the syntax and click on the little '101 010' icon above the texbox&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:12:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275010#M82959</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-27T19:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275011#M82960</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[search index="idx" source="server.log" earliest=-360 latest=-60 "&amp;lt;Request" | xmlkv | fields clientId]
NOT IN
[search  index="idx" source="server.log" earliest=-360 latest=now "&amp;lt;Response" | xmlkv | fields clientId]`enter code here`
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:17:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275011#M82960</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2016-10-27T19:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275012#M82961</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="idx" source="server.log" earliest=-360 latest=-60 "&amp;lt;Request" | xmlkv | fields clientId | search NOT
 [search  index="idx" source="server.log" earliest=-360 latest=now "&amp;lt;Response" | xmlkv | stats count by clientId |table clientId]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2016 20:03:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275012#M82961</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-27T20:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275013#M82962</link>
      <description>&lt;P&gt;it works! Thanks much&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 21:21:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/275013#M82962</guid>
      <dc:creator>riotto</dc:creator>
      <dc:date>2016-10-27T21:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a NOT IN search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/527151#M148796</link>
      <description>&lt;P&gt;I would recommend using an eventstats command to exclude&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="idx" earliest=-360s latest=-0s source="server.log"  "&amp;lt;Request" 
| xmlkv 
| eventstats earliest_time(clientId) as earliest_clientId by clientId
| where relative_time(now(), "-60s") &amp;gt; earliest_clientId
|`enter code here`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 18:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-do-a-NOT-IN-search/m-p/527151#M148796</guid>
      <dc:creator>malvidin</dc:creator>
      <dc:date>2020-10-29T18:01:10Z</dc:date>
    </item>
  </channel>
</rss>

