<?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: Filtering security log at the universal forwarder. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194570#M38725</link>
    <description>&lt;P&gt;you can accept the answer, it will mark the question as resolved for other users.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2014 17:36:09 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2014-06-11T17:36:09Z</dc:date>
    <item>
      <title>Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194563#M38718</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to nail exactly what I need for this. There is so many different explanations, that I find I am more confused than when I started looking into it.&lt;/P&gt;

&lt;P&gt;I am using a universal forwarder version 6.1.1.207789 on a Windows 2012 server. This is a DC.&lt;/P&gt;

&lt;P&gt;Basically I only want to send event codes that are 4624 or 4634. I do not care about anything else at this stage.&lt;/P&gt;

&lt;P&gt;I have changed the %splunk_home%\etc\system\local inputs.conf file to look like below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;host = YYY&lt;/P&gt;

&lt;P&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[WinEvent.log://Security]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
current_only = 0&lt;BR /&gt;
evt_resolve_ad_obj = 1&lt;BR /&gt;
checkpointInterval = 5&lt;BR /&gt;
whitelist = 4624,4634&lt;/P&gt;

&lt;P&gt;When I restarted the forwarder if just sent everything as normal. By normal I mean we chose security log tick box when we installed the Universal Forwarder in the first place.&lt;/P&gt;

&lt;P&gt;By the way in the preview, it has removed the underscores from current only and evt resolve ad obj&lt;/P&gt;

&lt;P&gt;This is the first time I have tried this. Any help much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:49:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194563#M38718</guid>
      <dc:creator>rush2112</dc:creator>
      <dc:date>2020-09-28T16:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194564#M38719</link>
      <description>&lt;P&gt;You need to use a heavy forwarder if you want to filter the information before sending it. The universal forwarder only adds some metadata and forwards - it can't be used to do any filtering at the source:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Splexicon:Universalforwarder"&gt;http://docs.splunk.com/Splexicon:Universalforwarder&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Alternatively, you can configure the indexer to throw out the data you don't want from this source.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 17:41:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194564#M38719</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-06-10T17:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194565#M38720</link>
      <description>&lt;P&gt;To follow on aweitzman's suggestion to throw out the events you don't want, the following in an example of  sending select event log items to the null queue with props.conf and transforms.conf(you will need to adjust your regex to the events you want to keep/drop):&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/59370/filtering-events-using-nullqueue"&gt;http://answers.splunk.com/answers/59370/filtering-events-using-nullqueue&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 18:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194565#M38720</guid>
      <dc:creator>alterdego</dc:creator>
      <dc:date>2014-06-10T18:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194566#M38721</link>
      <description>&lt;P&gt;The nullQueue filtering (at the indexer/heavy forwarder level) was the old way.&lt;BR /&gt;
Since splunk 6.* you can use the whitelist/blacklist for EventCode at the input level on any forwarders.&lt;/P&gt;

&lt;P&gt;I am surprised that the config above didn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 18:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194566#M38721</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-06-10T18:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194567#M38722</link>
      <description>&lt;P&gt;Found it, there is a typo in the input name. So the default from another app must be applied instead.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[WinEvent.log://Security]&lt;/CODE&gt;&lt;BR /&gt;
should be&lt;BR /&gt;
&lt;CODE&gt;[WinEventLog://Security]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;To verify the result, run a btool&lt;BR /&gt;
&lt;CODE&gt;splunk cmd btool inputs list --debug&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 18:56:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194567#M38722</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-06-10T18:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194568#M38723</link>
      <description>&lt;P&gt;Thanks yannk for keeping me on the universalforwarder. I have whitelisted event codes from the security log I wanted to keep and it is working fine.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 13:26:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194568#M38723</guid>
      <dc:creator>rush2112</dc:creator>
      <dc:date>2014-06-11T13:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194569#M38724</link>
      <description>&lt;P&gt;Thanks yannk, that was it. the full stop and the non capital on the L of log. All working well with the universalforwarder, and my license limit is safe again.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 13:27:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194569#M38724</guid>
      <dc:creator>rush2112</dc:creator>
      <dc:date>2014-06-11T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering security log at the universal forwarder.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194570#M38725</link>
      <description>&lt;P&gt;you can accept the answer, it will mark the question as resolved for other users.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 17:36:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-security-log-at-the-universal-forwarder/m-p/194570#M38725</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-06-11T17:36:09Z</dc:date>
    </item>
  </channel>
</rss>

