<?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: NOT Search is not giving the expected result in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520149#M146470</link>
    <description>&lt;P&gt;but callbacknumber is unique for both right ?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 13:55:27 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-09-17T13:55:27Z</dc:date>
    <item>
      <title>NOT Search is not giving the expected result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520092#M146453</link>
      <description>&lt;P&gt;i am trying the exclude the events in the sub search query using Search NOT. It is not returning the expected result.&lt;/P&gt;&lt;P&gt;in this i am trying to exclude "system=APICleanUp callbacknumber=* Message="API Success" sourcetype=application_prod" events. Both the logs are are coming from 2 different system..callback is the common field between two search queries.&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;P&gt;environment=PROD system=API1 Message="API l logs"|dedup callbacknumber&lt;BR /&gt;| search NOT [search system=APICleanUp callbacknumber=* Message="API Success" sourcetype=application_prod ]| table callbacknumber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 10:18:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520092#M146453</guid>
      <dc:creator>ajees_basha</dc:creator>
      <dc:date>2020-09-17T10:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: NOT Search is not giving the expected result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520094#M146455</link>
      <description>&lt;P&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110" target="_self"&gt;niketnilay&lt;/A&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/97503"&gt;@IRHM73&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 10:20:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520094#M146455</guid>
      <dc:creator>ajees_basha</dc:creator>
      <dc:date>2020-09-17T10:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: NOT Search is not giving the expected result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520118#M146460</link>
      <description>&lt;LI-CODE lang="markup"&gt;environment=PROD system=API1 Message="API l logs"|stats count as events_count by callbacknumber
| append [search system=APICleanUp callbacknumber=* Message="API Success" sourcetype=application_prod | stats count as subevents_count by callbacknumber]
| stats values(*) as * by callbacknumber
| where isnotnull(events_count) AND isnull(subevents_count)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Sep 2020 11:42:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520118#M146460</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-17T11:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: NOT Search is not giving the expected result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520144#M146466</link>
      <description>&lt;P&gt;Thanks for your time&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129407"&gt;@thambisetty&lt;/a&gt;&amp;nbsp;..sorry it is not giving the expected result.&lt;/P&gt;&lt;P&gt;Basically i would like to see the callback numbers which should have the log Message="API 1 logs" and should not have the log Message= "API Success".&lt;/P&gt;&lt;P&gt;first&amp;nbsp;Message="API 1 logs" event will happen in the system=API1 followed by the event Message= "API Success" in the system=APICleanUp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 13:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520144#M146466</guid>
      <dc:creator>ajees_basha</dc:creator>
      <dc:date>2020-09-17T13:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: NOT Search is not giving the expected result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520149#M146470</link>
      <description>&lt;P&gt;but callbacknumber is unique for both right ?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 13:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520149#M146470</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-17T13:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: NOT Search is not giving the expected result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520231#M146490</link>
      <description>&lt;P&gt;yes it is unique in both the queries&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 00:54:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520231#M146490</guid>
      <dc:creator>ajees_basha</dc:creator>
      <dc:date>2020-09-18T00:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: NOT Search is not giving the expected result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520266#M146499</link>
      <description>&lt;P&gt;then my query should definitely work. if you can give more details I can troubleshoot. like sample event of two data sets and extracted fields and used fields in search.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 08:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/NOT-Search-is-not-giving-the-expected-result/m-p/520266#M146499</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-18T08:08:25Z</dc:date>
    </item>
  </channel>
</rss>

