<?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: Blacklist Event IDs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-Event-IDs/m-p/580933#M102454</link>
    <description>&lt;P&gt;Since &lt;STRONG&gt;renderXml&lt;/STRONG&gt; is set to &lt;STRONG&gt;true&lt;/STRONG&gt;, the sourcetype of your event would be considered as&amp;nbsp;&lt;STRONG&gt;XmlWinEventLog:Security.&amp;nbsp;&lt;/STRONG&gt;So, you can define a similar stanza in the local directory of the app with the blacklist setting and you should be good with your objective.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 12:25:10 GMT</pubDate>
    <dc:creator>tshah-splunk</dc:creator>
    <dc:date>2022-01-13T12:25:10Z</dc:date>
    <item>
      <title>Blacklist Event IDs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-Event-IDs/m-p/577829#M102067</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm new to the back-end configuration of Splunk and I've recently taken over a Splunk instance and I've been tasked with tidying it up a bit. The first thing I noticed is that there is a lot of noise coming in from event ID 5156. So I would like to blacklist this particular ID from coming in.&lt;/P&gt;&lt;P&gt;As my knowledge is somewhat limited to this, the environment has one Heavy Forwarder, and 3 indexers clustered together. When I try to read the configuration of the Universal Forwarder on the Domain Controller there is no outputs.conf in the &lt;STRONG&gt;C:\Program Files\SplunkUniversalForwarder\etc\system\loca&lt;/STRONG&gt;l directory, so I don't know with assurance where the events are being sent.&lt;/P&gt;&lt;P&gt;We have the Splunk Add-on for Microsoft Windows enabled on the HF, indexers and search head. However, I have only made changes to the inputs.conf located in &lt;STRONG&gt;/opt/splunk/etc/apps/splunk_ta_win/local&lt;/STRONG&gt; on the HF. I've added the following line:&lt;BR /&gt;&lt;STRONG&gt;blacklist3 = EventCode="5156" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;/STRONG&gt; as blacklist1 and blacklist2 were already present and I couldn't return a search for these events (Meaning they're being filtered), I also restarted the Splunk service.&lt;/P&gt;&lt;P&gt;I've just run a search for the past few hours and I'm still seeing 5156 come through. Am I doing anything wrong, or do I need to perhaps make the config changes on the Indexers as well? Currently the config for security index looks like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;[WinEventLog://Security]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;disabled = 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;start_from = oldest&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;current_only = 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;evt_resolve_ad_obj = 1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;checkpointInterval = 5&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;blacklist2 = EventCode="566" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;blacklist3 = EventCode="5156" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;renderXml=true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The other thing that has me confused, is the 5156 events being returned are coming from "&lt;STRONG&gt;XmlWinEventLog:Security&lt;/STRONG&gt;" and not "&lt;STRONG&gt;WinEventLog:Security&lt;/STRONG&gt;", does Splunk automatically add Xml to the front of the index name is &lt;STRONG&gt;renderXml=true&lt;/STRONG&gt;, or was that configured prior? I can't see any Xml event stanzas in this file.&lt;/P&gt;&lt;P&gt;If anyone can direct me on what i'm doing wrong, that would be great. All the Splunk instances I'm referring to are on CentOS, and they're all running 7.3.0. Upgrading to 8 is in the pipeline.&lt;/P&gt;&lt;P&gt;Am I looking in the completely wrong area? IE Outside of the app name? At this point intime I still cannot determine the configuration on the Universal Forwarders and we're there being sent as the outputs.conf doesn't exist.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 23:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-Event-IDs/m-p/577829#M102067</guid>
      <dc:creator>aihwab1</dc:creator>
      <dc:date>2021-12-08T23:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist Event IDs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-Event-IDs/m-p/580933#M102454</link>
      <description>&lt;P&gt;Since &lt;STRONG&gt;renderXml&lt;/STRONG&gt; is set to &lt;STRONG&gt;true&lt;/STRONG&gt;, the sourcetype of your event would be considered as&amp;nbsp;&lt;STRONG&gt;XmlWinEventLog:Security.&amp;nbsp;&lt;/STRONG&gt;So, you can define a similar stanza in the local directory of the app with the blacklist setting and you should be good with your objective.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 12:25:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-Event-IDs/m-p/580933#M102454</guid>
      <dc:creator>tshah-splunk</dc:creator>
      <dc:date>2022-01-13T12:25:10Z</dc:date>
    </item>
  </channel>
</rss>

