<?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 filter out all WinEventLog:Security messages except those containing the word &amp;quot;delete&amp;quot;? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208908#M41137</link>
    <description>&lt;P&gt;i'll try now&lt;BR /&gt;
But if i need more than one filter, what must i do?&lt;/P&gt;</description>
    <pubDate>Sat, 20 Feb 2016 17:36:01 GMT</pubDate>
    <dc:creator>Shark2112</dc:creator>
    <dc:date>2016-02-20T17:36:01Z</dc:date>
    <item>
      <title>How to filter out all WinEventLog:Security messages except those containing the word "delete"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208904#M41133</link>
      <description>&lt;P&gt;Hey guys.&lt;/P&gt;

&lt;P&gt;I want to exclude all messages from WinEventLog:Security except those containing the word "delete"(for deleted file audit).&lt;/P&gt;

&lt;P&gt;I was trying 2 ways:&lt;/P&gt;

&lt;P&gt;1st: in inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
whitelist1 = "delete"
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;2nd:&lt;BR /&gt;
props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
[setparsing]
REGEX = delete
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::WinEventLog:Security] or [source::WinEventLog://Security]  (with // like in inputs.conf)
# Transforms must be applied in this order
# to make sure events are dropped on the
# floor prior to making their way to the
# index processor
TRANSFORMS-set = setnull, setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Both of this doesn't work and i take all events.&lt;/P&gt;

&lt;P&gt;What is the difference between these two approaches and what did I do wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:06:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208904#M41133</guid>
      <dc:creator>Shark2112</dc:creator>
      <dc:date>2016-02-19T16:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out all WinEventLog:Security messages except those containing the word "delete"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208905#M41134</link>
      <description>&lt;P&gt;I think you have a syntax error in your inputs.conf file.  You need to specify the key that contains the string "delete".  In the inputs.conf example from the docs:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whitelist = EventCode=%^200$% User=%jrodman%
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You'll need to look at your specific event to identify the key.  For example if the key was "Action":&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whitelist = Action=%delete%
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your second method of using a props/transforms routing rule is also not correct.  You have the configurations swapped between the two files.  But in general you would use this method of filtering on your indexers or heavy forwarders, not your universal forwarders.  Try correcting your whitelist and see if that works for you.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 17:05:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208905#M41134</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-02-19T17:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out all WinEventLog:Security messages except those containing the word "delete"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208906#M41135</link>
      <description>&lt;P&gt;Thank you for feedback! But if i need regex (because my fieldsname in russian and splunk cant read it), what can i do?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 10:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208906#M41135</guid>
      <dc:creator>Shark2112</dc:creator>
      <dc:date>2016-02-20T10:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out all WinEventLog:Security messages except those containing the word "delete"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208907#M41136</link>
      <description>&lt;P&gt;Eesh, good question.  You can still try specifying the key and see if Splunk can match it. If not, you are probably better off filtering on the indexer, where you do not need to specify the key.  On the indexer, use the following:&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [setnull]
 REGEX = .
 DEST_KEY = queue
 FORMAT = nullQueue

 [setparsing]
 REGEX = delete
 DEST_KEY = queue
 FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Security]
TRANSFORMS-set = setnull, setparsing
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 20 Feb 2016 17:11:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208907#M41136</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-02-20T17:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out all WinEventLog:Security messages except those containing the word "delete"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208908#M41137</link>
      <description>&lt;P&gt;i'll try now&lt;BR /&gt;
But if i need more than one filter, what must i do?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 17:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208908#M41137</guid>
      <dc:creator>Shark2112</dc:creator>
      <dc:date>2016-02-20T17:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out all WinEventLog:Security messages except those containing the word "delete"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208909#M41138</link>
      <description>&lt;P&gt;nvm, all's work fine, thx for help!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 17:51:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-all-WinEventLog-Security-messages-except-those/m-p/208909#M41138</guid>
      <dc:creator>Shark2112</dc:creator>
      <dc:date>2016-02-20T17:51:25Z</dc:date>
    </item>
  </channel>
</rss>

