<?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: sending WinEventLog://Application to different indexes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/sending-WinEventLog-Application-to-different-indexes/m-p/245746#M47499</link>
    <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Application]
disabled = false
blacklist = 33205
index = index1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf (on Indexer/Heavy forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Application]
TRANSFORMS-idx_assign = assign_idx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf  (on Indexer/Heavy forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [assign_idx]
 DEST_KEY = _MetaData:Index
REGEX=(?m)EventCode\s*=\s*PUT_YOUR_SPECIFIC_EVENTCODE_HERE.*
 FORMAT = index2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Jan 2016 20:31:05 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-01-22T20:31:05Z</dc:date>
    <item>
      <title>sending WinEventLog://Application to different indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sending-WinEventLog-Application-to-different-indexes/m-p/245745#M47498</link>
      <description>&lt;P&gt;I have the following requirement:&lt;BR /&gt;
&amp;lt;ul&amp;gt;&lt;BR /&gt;
&amp;lt;li&amp;gt; send WinEventLog://Application , except for one specific EventCode to one index&amp;lt;/li&amp;gt;&lt;BR /&gt;
&amp;lt;li&amp;gt; send that specific EventCode to another index&amp;lt;/li&amp;gt;&lt;BR /&gt;
&amp;lt;/ul&amp;gt;&lt;BR /&gt;
While I can get one of both requirements to work at a time, I can't figure out how to do do both simultaneously.&lt;/P&gt;

&lt;P&gt;In one forwarder app my inputs.conf looks like this:&lt;BR /&gt;
&amp;lt;pre&amp;gt;&lt;BR /&gt;
[WinEventLog://Application]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
blacklist = 33205&lt;BR /&gt;
index = index1&lt;BR /&gt;
&amp;lt;/pre&amp;gt;&lt;BR /&gt;
and in the other one I have&lt;BR /&gt;
&amp;lt;pre&amp;gt;&lt;BR /&gt;
[WinEventLog://Application]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
whitelist = 33205&lt;BR /&gt;
index = index2&lt;BR /&gt;
&amp;lt;/pre&amp;gt;&lt;/P&gt;

&lt;P&gt;Anyone got something like this to work without resolving to props.conf/transforms.conf magic on the indexers? (Which I want to avoid, due to the sheer data volume.)&lt;/P&gt;

&lt;P&gt;Is it maybe not possible to have two input stanzas for WinEventLog://Application?&lt;/P&gt;

&lt;P&gt;(UFW: v6.2.1 / servers: v6.2.4)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sending-WinEventLog-Application-to-different-indexes/m-p/245745#M47498</guid>
      <dc:creator>usd0872</dc:creator>
      <dc:date>2016-01-22T16:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: sending WinEventLog://Application to different indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sending-WinEventLog-Application-to-different-indexes/m-p/245746#M47499</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Application]
disabled = false
blacklist = 33205
index = index1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf (on Indexer/Heavy forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Application]
TRANSFORMS-idx_assign = assign_idx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf  (on Indexer/Heavy forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [assign_idx]
 DEST_KEY = _MetaData:Index
REGEX=(?m)EventCode\s*=\s*PUT_YOUR_SPECIFIC_EVENTCODE_HERE.*
 FORMAT = index2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jan 2016 20:31:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sending-WinEventLog-Application-to-different-indexes/m-p/245746#M47499</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-01-22T20:31:05Z</dc:date>
    </item>
  </channel>
</rss>

