<?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: Need a help with splunk query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697695#M236988</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271343"&gt;@jagan_vannala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;sorry but it isn't still clear:&lt;/P&gt;&lt;P&gt;to exclude particular sessionId, choose the ones to exclude and put them in a condition&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search NOT sessionId IN (cond1, cond1, cond3)&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2024 10:06:07 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-08-29T10:06:07Z</dc:date>
    <item>
      <title>Need a help with splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697689#M236984</link>
      <description>&lt;P&gt;HI Team,&lt;/P&gt;&lt;P&gt;When i am trying to exclude one field by inserting condition sessionId!=X its not working . even though I used "NOT" condition but the field which i am trying to exclude is still showing in results. could you please help how i can exclude&amp;nbsp; particular field&lt;/P&gt;&lt;P&gt;host="*"&amp;nbsp; sessionId!=X&amp;nbsp;&lt;/P&gt;&lt;P&gt;host="*" NOT&amp;nbsp;sessionId!=X&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 09:49:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697689#M236984</guid>
      <dc:creator>jagan_vannala</dc:creator>
      <dc:date>2024-08-29T09:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help with splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697690#M236985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271343"&gt;@jagan_vannala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;maybe it's a mistyping, but in the solution with NOT you don't need to add !, in other words:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;host="*" NOT sessionId=X &lt;/LI-CODE&gt;&lt;P&gt;Anyway, your two searchs has different results because with&amp;nbsp;&lt;SPAN&gt;sessionId!=X you tale all the logs where the filed sessionId is present and hasn't the value "X",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;instead with&amp;nbsp;NOT&amp;nbsp;sessionId=X you have all the events except the ones with&amp;nbsp;sessionId=X , even if the sessionId field isn't present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 09:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697690#M236985</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-29T09:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help with splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697691#M236986</link>
      <description>&lt;P&gt;If you only wanna see events that do not contain the field&amp;nbsp;&lt;SPAN&gt;sessionId You must search as follows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;host="*" NOT&amp;nbsp;sessionId&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 09:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697691#M236986</guid>
      <dc:creator>PaulPanther</dc:creator>
      <dc:date>2024-08-29T09:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help with splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697694#M236987</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to exclude particular session under multiple session ID's&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 10:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697694#M236987</guid>
      <dc:creator>jagan_vannala</dc:creator>
      <dc:date>2024-08-29T10:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help with splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697695#M236988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271343"&gt;@jagan_vannala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;sorry but it isn't still clear:&lt;/P&gt;&lt;P&gt;to exclude particular sessionId, choose the ones to exclude and put them in a condition&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search NOT sessionId IN (cond1, cond1, cond3)&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 10:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697695#M236988</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-29T10:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help with splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697698#M236989</link>
      <description>&lt;P&gt;If I want to exclude multiple fields by using NOT condition how can to use NOT query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOT sessionId=X AND groupID=Y&lt;BR /&gt;&lt;BR /&gt;Is this works? please suggest&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 10:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697698#M236989</guid>
      <dc:creator>jagan_vannala</dc:creator>
      <dc:date>2024-08-29T10:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help with splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697699#M236990</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271343"&gt;@jagan_vannala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;use parenthesis:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NOT (sessionId=X groupID=Y)&lt;/LI-CODE&gt;&lt;P&gt;and the AND boolean operator isn't required.&lt;/P&gt;&lt;P&gt;if you have these doubt, I hint to follow the Splink Search Tutorial, that explain how to create your searches:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchTutorial/WelcometotheSearchTutorial" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchTutorial/WelcometotheSearchTutorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 10:34:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-with-splunk-query/m-p/697699#M236990</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-29T10:34:16Z</dc:date>
    </item>
  </channel>
</rss>

