<?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: Whitelist stacking issues in inputs.conf in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Whitelist-stacking-issues-in-inputs-conf/m-p/375983#M6187</link>
    <description>&lt;P&gt;Sorry I hadn't had time to do testing for this as I was traveling but glad you got it resolved.&lt;/P&gt;</description>
    <pubDate>Tue, 15 May 2018 12:19:38 GMT</pubDate>
    <dc:creator>jcrabb_splunk</dc:creator>
    <dc:date>2018-05-15T12:19:38Z</dc:date>
    <item>
      <title>Whitelist stacking issues in inputs.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Whitelist-stacking-issues-in-inputs-conf/m-p/375981#M6185</link>
      <description>&lt;P&gt;I only want Error and Warning events from Windows System logs, except for a couple of individual events (104 and 1074) which I want event though they're 'information' events.&lt;/P&gt;

&lt;P&gt;[WinEventLog://System]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
whitelist1 = 104,1074&lt;BR /&gt;
whitelist2 = Type=/Error|Warning/&lt;/P&gt;

&lt;P&gt;If I have just whitelist 1, I get the 1074 events (which are informational) but when I add whitelist 2, I only get Error and Warning events but no longer get 1074 events. How to I get both?&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 18:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Whitelist-stacking-issues-in-inputs-conf/m-p/375981#M6185</guid>
      <dc:creator>benbabich</dc:creator>
      <dc:date>2018-05-07T18:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Whitelist stacking issues in inputs.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Whitelist-stacking-issues-in-inputs-conf/m-p/375982#M6186</link>
      <description>&lt;P&gt;Once Regex enters the fray under [WinEventLog://System], the other system (commas) is thrown out the window.&lt;BR /&gt;
"You have to use exclusively just event code (like whitelist1), or key/value regexes (like whitelist2). You can't mix and match in the same input stanza".&lt;BR /&gt;
Got that info from PeanutButterW0lf over on reddit.com/r/splunk, so props to him.&lt;/P&gt;

&lt;P&gt;This works:&lt;BR /&gt;
[WinEventLog://System]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
whitelist = EventCode="104|1074|2020|6008|6009|12295|29223|40960|40961" &lt;BR /&gt;
whitelist1 = Type=/Error|Warning/&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 19:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Whitelist-stacking-issues-in-inputs-conf/m-p/375982#M6186</guid>
      <dc:creator>benbabich</dc:creator>
      <dc:date>2018-05-14T19:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Whitelist stacking issues in inputs.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Whitelist-stacking-issues-in-inputs-conf/m-p/375983#M6187</link>
      <description>&lt;P&gt;Sorry I hadn't had time to do testing for this as I was traveling but glad you got it resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 12:19:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Whitelist-stacking-issues-in-inputs-conf/m-p/375983#M6187</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2018-05-15T12:19:38Z</dc:date>
    </item>
  </channel>
</rss>

