<?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: How do I create an overall alert while ignoring events for specific field combinations? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208990#M61038</link>
    <description>&lt;P&gt;So rather than do the "where" statement, I just added the "NOT ..." statement in the base search and it seems to do it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog sourcetype=*Security EventCode=5136 Class=user LDAP_Display_Name!=userCertificate NOT (LDAP_Display_Name=altSecurityIdentities AND (userTitle="*help desk*" OR userTitle="*service desk*"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Dec 2016 17:42:26 GMT</pubDate>
    <dc:creator>jmaple</dc:creator>
    <dc:date>2016-12-27T17:42:26Z</dc:date>
    <item>
      <title>How do I create an overall alert while ignoring events for specific field combinations?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208987#M61035</link>
      <description>&lt;P&gt;I'm trying to alert on a specific event code but there are certain combinations where these event codes are acceptable and I want to exclude them from my results but for some reason, I'm having trouble getting it to ignore accepted events without excluding them outright.&lt;/P&gt;

&lt;P&gt;For instance, our service desk is allowed to make specific edits within our AD infrastructure but we use Quest ARS for everything else and we want to be notified when a user makes an AD modification to a user outside of this event combination so here is my base search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog sourcetype=*Security EventCode=5136 Class=user LDAP_Display_Name!=userCertificate
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From here I want to exclude the title of our "Account_Name" field (which is brought in using a lookup) with the specific "LDAP_Display_Name" field value of "altSecurityIdentity". I thought this would do it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[base search] | where (LDAP_Display_Name!=altSecurityIdentity AND userTitle!="*help desk*")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But that doesn't take both arguments in account. It does one then the other. How do I get it to accept both arguments as one?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208987#M61035</guid>
      <dc:creator>jmaple</dc:creator>
      <dc:date>2020-09-29T12:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create an overall alert while ignoring events for specific field combinations?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208988#M61036</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[base search] | where NOT (LDAP_Display_Name="altSecurityIdentity" AND userTitle="*help desk*")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Dec 2016 17:27:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208988#M61036</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-27T17:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create an overall alert while ignoring events for specific field combinations?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208989#M61037</link>
      <description>&lt;P&gt;Looks like there is no change. There a couple of different titles I need to filter so I tried one of them and it still came up as a result.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 17:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208989#M61037</guid>
      <dc:creator>jmaple</dc:creator>
      <dc:date>2016-12-27T17:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create an overall alert while ignoring events for specific field combinations?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208990#M61038</link>
      <description>&lt;P&gt;So rather than do the "where" statement, I just added the "NOT ..." statement in the base search and it seems to do it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog sourcetype=*Security EventCode=5136 Class=user LDAP_Display_Name!=userCertificate NOT (LDAP_Display_Name=altSecurityIdentities AND (userTitle="*help desk*" OR userTitle="*service desk*"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Dec 2016 17:42:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-an-overall-alert-while-ignoring-events-for/m-p/208990#M61038</guid>
      <dc:creator>jmaple</dc:creator>
      <dc:date>2016-12-27T17:42:26Z</dc:date>
    </item>
  </channel>
</rss>

