<?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 Collecting Windows eventlogs with whitelist based on word in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281253#M53799</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I need to collect all Windows security logs from my infrastructure with Splunk UF installed which include specific Keyword&lt;BR /&gt;
I'm using following config for Splunk add-on for Windows, but this results in collecting all logs from server.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
checkpointInterval = 5
whitelist1 = (?msi)^Workstation\s+Name\:\s+KEYWORD
index = wineventlog
renderXml=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I do this correctly?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2016 15:55:48 GMT</pubDate>
    <dc:creator>ArsenyKapralov</dc:creator>
    <dc:date>2016-07-26T15:55:48Z</dc:date>
    <item>
      <title>Collecting Windows eventlogs with whitelist based on word</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281253#M53799</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I need to collect all Windows security logs from my infrastructure with Splunk UF installed which include specific Keyword&lt;BR /&gt;
I'm using following config for Splunk add-on for Windows, but this results in collecting all logs from server.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
checkpointInterval = 5
whitelist1 = (?msi)^Workstation\s+Name\:\s+KEYWORD
index = wineventlog
renderXml=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I do this correctly?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 15:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281253#M53799</guid>
      <dc:creator>ArsenyKapralov</dc:creator>
      <dc:date>2016-07-26T15:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting Windows eventlogs with whitelist based on word</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281254#M53800</link>
      <description>&lt;P&gt;Yes in this way you take all security eventlogs.&lt;BR /&gt;
if you want not all logs but only the ones that contain specific words, you have to filter them using props.conf and transforms.conf on your indexer.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe &lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 16:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281254#M53800</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-07-26T16:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting Windows eventlogs with whitelist based on word</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281255#M53801</link>
      <description>&lt;P&gt;Yes, this is traditional way for doing this, but it impacts performance of indexers. &lt;/P&gt;

&lt;P&gt;As I found in docs (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/MonitorWindowseventlogdata"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/MonitorWindowseventlogdata&lt;/A&gt;) I have ability to filter some logs on UF side and filter could be based on regex.&lt;BR /&gt;
So my question is what am I doing wrong in my example and how to make it working?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 08:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281255#M53801</guid>
      <dc:creator>ArsenyKapralov</dc:creator>
      <dc:date>2016-07-27T08:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting Windows eventlogs with whitelist based on word</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281256#M53802</link>
      <description>&lt;P&gt;For my Splunk knowledge, Universal Forwarders don't parse logs, parsing is done by Heavy Forwarders and Indexers.&lt;/P&gt;

&lt;P&gt;There are two ways to don't parse logs on the Indexer:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;put an Heavy Forwarder between Universal Forwarders and Indexer and use it to filter logs,&lt;/LI&gt;
&lt;LI&gt;get logs not directly from wineventlog but from a script that runs on the Universal Forwarder and writes the filtered logs in a file.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 16:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281256#M53802</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-07-30T16:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting Windows eventlogs with whitelist based on word</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281257#M53803</link>
      <description>&lt;P&gt;You should be able to do it provided you have the event field name.&lt;BR /&gt;
The syntax  is - &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;whilelist = &amp;lt;list&amp;gt; | key=regex [key=regex]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You have so far - &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;whitelist1 = (?msi)^Workstation\s+Name\:\s+KEYWORD&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Based on the doc you provided at &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/MonitorWindowseventlogdata"&gt;Monitor Windows event log data&lt;/A&gt; &lt;BR /&gt;
you need to identify the key -&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1640i8033E47E46CEFE2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 21:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Collecting-Windows-eventlogs-with-whitelist-based-on-word/m-p/281257#M53803</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-07-31T21:57:20Z</dc:date>
    </item>
  </channel>
</rss>

