<?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: inputs.conf Windows event whitelist in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502837#M85658</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;whitelist = EventCode=%^104$%
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try this edit and restart the Splunk, I hope this will help!&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2019 23:09:58 GMT</pubDate>
    <dc:creator>sandeepmakkena</dc:creator>
    <dc:date>2019-10-17T23:09:58Z</dc:date>
    <item>
      <title>inputs.conf Windows event whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502836#M85657</link>
      <description>&lt;P&gt;Hi guys,&lt;BR /&gt;
it seems there's something wrong with my inputs.conf whitelist configuration :&lt;/P&gt;

&lt;P&gt;[WinEventLog://System]&lt;BR /&gt;
index = winsecevents&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
start_from = oldest&lt;BR /&gt;
current_only = 0&lt;BR /&gt;
checkpointInterval = 5&lt;BR /&gt;
renderXml = true&lt;BR /&gt;
whitelist = EventCode="^104$" TaskCategory="^Log\sclear"&lt;/P&gt;

&lt;P&gt;I tried of course with :&lt;BR /&gt;
whitelist = EventCode="104" TaskCategory="Log clear"&lt;BR /&gt;
or with the "message" conf like this one :&lt;/P&gt;

&lt;P&gt;whitelist = EventCode="104" Message=".+log\sfile\swas\scleared."&lt;/P&gt;

&lt;P&gt;But nothing has changed.&lt;BR /&gt;
Do you have some ideas?&lt;BR /&gt;
Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502836#M85657</guid>
      <dc:creator>isolsplunk</dc:creator>
      <dc:date>2020-09-30T02:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf Windows event whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502837#M85658</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;whitelist = EventCode=%^104$%
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try this edit and restart the Splunk, I hope this will help!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 23:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502837#M85658</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-10-17T23:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf Windows event whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502838#M85659</link>
      <description>&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  [WinEventLog://System]
  TRANSFORMS-FilterEvent = FilterEvent
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [FilterEvent]
 REGEX = EventCode="^104$" 
 DEST_KEY = queue
 FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try this as well!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 23:21:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502838#M85659</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-10-17T23:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf Windows event whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502839#M85660</link>
      <description>&lt;P&gt;Hi there,the issue is related to the second part of the filter : taskcategory/message (they are on the same line but the post has been modified.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 05:16:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502839#M85660</guid>
      <dc:creator>isolsplunk</dc:creator>
      <dc:date>2019-10-18T05:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf Windows event whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502840#M85661</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
from &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whitelist = &amp;lt;regular expression&amp;gt;
* If set, files from this input are monitored only if their path matches the
  specified regex.
* Takes precedence over the deprecated '_whitelist' setting, which functions
  the same way.
* Default: Not set.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So check the regex with your logs escaping all special chars (as = or ") , it should be something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whitelist = EventCode\=104.*TaskCategory\=Log\sclear
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 06:51:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502840#M85661</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-18T06:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf Windows event whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502841#M85662</link>
      <description>&lt;P&gt;Ciao Giuseppe,&lt;BR /&gt;
thanks for your comment.&lt;BR /&gt;
I think i'm missing something...just to be clear,I'm trying to filter windows event logs and not custom.&lt;BR /&gt;
In another stanza I have these settings that are running correctly :&lt;/P&gt;

&lt;P&gt;[WinEventLog://Security]&lt;BR /&gt;
index = winsecevents&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
start_from = oldest&lt;BR /&gt;
current_only = 0&lt;BR /&gt;
evt_resolve_ad_obj = 1&lt;BR /&gt;
checkpointInterval = 5&lt;BR /&gt;
blacklist1 = EventCode="4662|566" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;
blacklist2 = EventCode="4634|4624" Message="Logon Type:\s+3"&lt;BR /&gt;
blacklist3 = EventCode="4648|4658" Message="Process Name:\s+C:\Program\sFiles\Microsoft\sAzure\sAD\sSync\Bin\miiserver.exe"&lt;BR /&gt;
renderXml=true&lt;/P&gt;

&lt;P&gt;The difference is just the keyword "blacklist" instead of "whitelist" but this one :&lt;BR /&gt;
whitelist = EventCode="104" TaskCategory=".*Log\sclear"&lt;BR /&gt;
or this :&lt;BR /&gt;
whitelist = EventCode="104" Message=".+\slog\sfile\swas\scleared."&lt;/P&gt;

&lt;P&gt;looks totally correct to me.&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502841#M85662</guid>
      <dc:creator>isolsplunk</dc:creator>
      <dc:date>2020-09-30T02:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf Windows event whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502842#M85663</link>
      <description>&lt;P&gt;Ok,I understood why it doesn't works.&lt;BR /&gt;
I have renderXml=true and if I check the windows event,there's not any field i was looking for.&lt;BR /&gt;
I must change the logic,parsing the raw xml and looking through it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-Windows-event-whitelist/m-p/502842#M85663</guid>
      <dc:creator>isolsplunk</dc:creator>
      <dc:date>2019-10-18T12:38:07Z</dc:date>
    </item>
  </channel>
</rss>

