<?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: Exclude a result in search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Exclude-a-result-in-search/m-p/683101#M233305</link>
    <description>&lt;P&gt;While not the most computationally efficient, you could use a negating keyword search for the string you would like to exclude:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;yourSPL&amp;gt; NOT "PAM: Authentication failure for illegal user djras123 from"&lt;/LI-CODE&gt;&lt;P&gt;Or have it on a separate search line, if your SPL does not end on a "search" command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;yourSPL&amp;gt;
| search NOT "PAM: Authentication failure for illegal user djras123 from"&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 03 Apr 2024 20:56:00 GMT</pubDate>
    <dc:creator>marnall</dc:creator>
    <dc:date>2024-04-03T20:56:00Z</dc:date>
    <item>
      <title>Exclude a result in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclude-a-result-in-search/m-p/683097#M233303</link>
      <description>&lt;P&gt;I am trying to exclude this from a search. They are almost all the same just the sshd instance changes can someone help me exclude?&lt;/P&gt;&lt;P&gt;ras1-dan-cisco-swi error: PAM: Authentication failure for illegal user djras123 from 192.168.1.2 - dcos_sshd[17284]&lt;BR /&gt;ras1-dan-cisco-swi error: PAM: Authentication failure for illegal user djras123 from 192.168.1.2 - dcos_sshd[29461]&lt;BR /&gt;ras1-dan-cisco-swi error: PAM: Authentication failure for illegal user djras123 from 192.168.1.2 - dcos_sshd[4064]&lt;BR /&gt;ras1-dan-cisco-swi error: PAM: Authentication failure for illegal user djras123 from 192.168.1.2 - dcos_sshd[9450]&lt;BR /&gt;&lt;BR /&gt;Thanks guys besides excluding each one,&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 20:11:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclude-a-result-in-search/m-p/683097#M233303</guid>
      <dc:creator>djras123</dc:creator>
      <dc:date>2024-04-03T20:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude a result in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclude-a-result-in-search/m-p/683101#M233305</link>
      <description>&lt;P&gt;While not the most computationally efficient, you could use a negating keyword search for the string you would like to exclude:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;yourSPL&amp;gt; NOT "PAM: Authentication failure for illegal user djras123 from"&lt;/LI-CODE&gt;&lt;P&gt;Or have it on a separate search line, if your SPL does not end on a "search" command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;yourSPL&amp;gt;
| search NOT "PAM: Authentication failure for illegal user djras123 from"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 Apr 2024 20:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclude-a-result-in-search/m-p/683101#M233305</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-04-03T20:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude a result in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Exclude-a-result-in-search/m-p/683102#M233306</link>
      <description>&lt;P&gt;While you could do an explicit exclusion as &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt; already showed it's probably not the most effective solution. Remember that by default inclusion is better than exclusion.&lt;/P&gt;&lt;P&gt;So the question is whether the events you want to exclude differ significantly from those you include? (Of course the best thing would be if you could differentiate them by an indexed field).&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 21:05:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Exclude-a-result-in-search/m-p/683102#M233306</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-04-03T21:05:31Z</dc:date>
    </item>
  </channel>
</rss>

