<?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: How to monitor a specific Windows Application EventCode? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314618#M58902</link>
    <description>&lt;P&gt;I don't think the quotes are needed (I don't see them in the actual Event Log details).&lt;/P&gt;

&lt;P&gt;I've tried all of the following with no luck:&lt;BR /&gt;
1. whitelist = EventCode=\"3000\"&lt;BR /&gt;
2. whitelist = EventCode=3000&lt;BR /&gt;
3. whitelist = EventCode=3000&lt;/P&gt;

&lt;P&gt;The documentation is very straightforward as to how this should work.  Very frustrating it doesn't function as advertised.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 17:43:33 GMT</pubDate>
    <dc:creator>ericlarsen</dc:creator>
    <dc:date>2017-08-31T17:43:33Z</dc:date>
    <item>
      <title>How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314616#M58900</link>
      <description>&lt;P&gt;I'm trying to monitor a specific Windows Application EventCode (via a whitelist), yet the events are not being sent to Splunk.&lt;/P&gt;

&lt;P&gt;I've found numerous posts on the answers site, most of them with different configs, but I've yet to find one that works.  What's stated in the documentation (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/Data/MonitorWindowseventlogdata#Create_advanced_filters_with_.27whitelist.27_and_.27blacklist.27"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.1/Data/MonitorWindowseventlogdata#Create_advanced_filters_with_.27whitelist.27_and_.27blacklist.27&lt;/A&gt;) does not work as specified.&lt;/P&gt;

&lt;P&gt;I've tried both of these stanzas with no luck:&lt;/P&gt;

&lt;P&gt;[WinEventLog://Application]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = os_windows&lt;BR /&gt;
whitelist = EventCode="^3000$"&lt;/P&gt;

&lt;P&gt;[WinEventLog://Application]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = os_windows&lt;BR /&gt;
whitelist = EventCode="3000"&lt;/P&gt;

&lt;P&gt;I'm running v6.6.1.  Any help would be appreciated.&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:06:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314616#M58900</guid>
      <dc:creator>ericlarsen</dc:creator>
      <dc:date>2017-08-31T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314617#M58901</link>
      <description>&lt;P&gt;Hi ericlarsen,&lt;BR /&gt;
in whitelist, you have to insert a regex not a string, try with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whitelist = EventCode\=\"3000\"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;check if the message is effectively EventCode="3000", I'm not sure of brackets.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:13:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314617#M58901</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-31T15:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314618#M58902</link>
      <description>&lt;P&gt;I don't think the quotes are needed (I don't see them in the actual Event Log details).&lt;/P&gt;

&lt;P&gt;I've tried all of the following with no luck:&lt;BR /&gt;
1. whitelist = EventCode=\"3000\"&lt;BR /&gt;
2. whitelist = EventCode=3000&lt;BR /&gt;
3. whitelist = EventCode=3000&lt;/P&gt;

&lt;P&gt;The documentation is very straightforward as to how this should work.  Very frustrating it doesn't function as advertised.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:43:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314618#M58902</guid>
      <dc:creator>ericlarsen</dc:creator>
      <dc:date>2017-08-31T17:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314619#M58903</link>
      <description>&lt;P&gt;Hi ericlarsen,&lt;BR /&gt;
at first verify if regex is correct using a simple searchç:&lt;BR /&gt;
index=wineventlog | regex "EventCode=3000"&lt;BR /&gt;
you should have only events with EvenCode=3000.&lt;BR /&gt;
Sometimes EventCode is expressed as EventId and sometimes there are spaces.&lt;/P&gt;

&lt;P&gt;If regex is correct I suggest to use a different approach to filter events: see at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad&lt;/A&gt; and filter data before indexing.&lt;BR /&gt;
I know that this requireme more bandwidht occupation but it's a sure method.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:03:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314619#M58903</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-01T07:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314620#M58904</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;

&lt;P&gt;I've verified that index=myIndex | regex "EventCode=3000" works in the search bar.&lt;/P&gt;

&lt;P&gt;Are you suggesting using a HF to filter events before they're ingested?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314620#M58904</guid>
      <dc:creator>ericlarsen</dc:creator>
      <dc:date>2017-09-01T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314621#M58905</link>
      <description>&lt;P&gt;No, in your indexers you can filter events following the URL I mentioned.&lt;BR /&gt;
In other words, you have to insert in &lt;BR /&gt;
&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Security]
TRANSFORMS-set-3000=set_nullqueue,set_3000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#discard
[set_nullqueue]
REGEX=.
DEST_KEY=queue
FORMAT=nullQueue
#take
[set_3000]
REGEX=EventCode\=3000
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this way on sourcetype WinEventLog:Security you take only events with EventCode=3000&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314621#M58905</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-01T13:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314622#M58906</link>
      <description>&lt;P&gt;You need to deploy these settings to your indexing server (usually your Indexer Tier but it could be your Heavy Forwarder).&lt;BR /&gt;
You need to restart all Splunk instances there.&lt;BR /&gt;
You need to verify it by checking ONLY events that have been indexed since the restart ( &lt;CODE&gt;_index_earliest=-5m@m&lt;/CODE&gt; or similar) because existing events will stay (you can use &lt;CODE&gt;delete&lt;/CODE&gt; to hide them).&lt;/P&gt;</description>
      <pubDate>Sun, 03 Sep 2017 19:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314622#M58906</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-03T19:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314623#M58907</link>
      <description>&lt;P&gt;The approach Giuseppe suggested is not one I'm exploring.  I'm confident this can be done via a whitelist on the UF, not on the Indexers.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 16:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314623#M58907</guid>
      <dc:creator>ericlarsen</dc:creator>
      <dc:date>2017-09-05T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor a specific Windows Application EventCode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314624#M58908</link>
      <description>&lt;P&gt;My answer is not "an approach"; it is a deployment and testing methodology regardless of what approach you do use.  In other words, the problem is probably not in "your approach".&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2017 06:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-a-specific-Windows-Application-EventCode/m-p/314624#M58908</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-10T06:27:00Z</dc:date>
    </item>
  </channel>
</rss>

