<?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: route data to different index based on two fields in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/route-data-to-different-index-based-on-two-fields/m-p/177838#M35656</link>
    <description>&lt;P&gt;Check this out &lt;A href="http://answers.splunk.com/answers/133299/route-data-to-indexes-based-on-fields"&gt;http://answers.splunk.com/answers/133299/route-data-to-indexes-based-on-fields&lt;/A&gt; it might be close to what you are looking for &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2014 18:54:43 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2014-05-26T18:54:43Z</dc:date>
    <item>
      <title>route data to different index based on two fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/route-data-to-different-index-based-on-two-fields/m-p/177837#M35655</link>
      <description>&lt;P&gt;For the below data, I want to route indexes based on two fields : EventType and Department. All departments have separate indexes for TRACE events and non-TRACE events. &lt;/P&gt;

&lt;P&gt;When EventType is TRACE and department is Department1 &lt;BR /&gt;
Then event should go to index Department1_TRACE&lt;/P&gt;

&lt;P&gt;All non-TRACE event types (WARN,ERROR) should go to respective Department Index. &lt;BR /&gt;
Like, WARN/ERROR event for Department2 should go to Index Department2.&lt;/P&gt;

&lt;P&gt;Please help me with configuration files.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;addresses&amp;gt;
  &amp;lt;address&amp;gt;
  &amp;lt;LogTime&amp;gt;02/22/2014 07:15:49 AM&amp;lt;/LogTime&amp;gt;
&amp;lt;EventType&amp;gt;TRACE&amp;lt;/EventType&amp;gt;
&amp;lt;Department&amp;gt;Department1&amp;lt;/Department&amp;gt;
    &amp;lt;name&amp;gt;Joe Tester&amp;lt;/name&amp;gt;
    &amp;lt;street&amp;gt;Baker street 5&amp;lt;/street&amp;gt;
  &amp;lt;/address&amp;gt;
   &amp;lt;address&amp;gt;
  &amp;lt;LogTime&amp;gt;02/22/2014 08:15:49 AM&amp;lt;/LogTime&amp;gt;
&amp;lt;EventType&amp;gt;Error&amp;lt;/EventType&amp;gt;
&amp;lt;Department&amp;gt;Department2&amp;lt;/Department&amp;gt;
    &amp;lt;name&amp;gt;Joe Tester&amp;lt;/name&amp;gt;
    &amp;lt;street&amp;gt;Baker street 5&amp;lt;/street&amp;gt;
       &amp;lt;/address&amp;gt; 
   &amp;lt;address&amp;gt;
  &amp;lt;LogTime&amp;gt;02/22/2014 09:15:49 AM&amp;lt;/LogTime&amp;gt;
&amp;lt;EventType&amp;gt;WARN&amp;lt;/EventType&amp;gt;
&amp;lt;Department&amp;gt;Department3&amp;lt;/Department&amp;gt;
    &amp;lt;name&amp;gt;Joe Tester&amp;lt;/name&amp;gt;
    &amp;lt;street&amp;gt;Baker street 5&amp;lt;/street&amp;gt;
      &amp;lt;/address&amp;gt;
&amp;lt;/addresses&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2014 05:57:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/route-data-to-different-index-based-on-two-fields/m-p/177837#M35655</guid>
      <dc:creator>kittu26</dc:creator>
      <dc:date>2014-05-26T05:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: route data to different index based on two fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/route-data-to-different-index-based-on-two-fields/m-p/177838#M35656</link>
      <description>&lt;P&gt;Check this out &lt;A href="http://answers.splunk.com/answers/133299/route-data-to-indexes-based-on-fields"&gt;http://answers.splunk.com/answers/133299/route-data-to-indexes-based-on-fields&lt;/A&gt; it might be close to what you are looking for &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2014 18:54:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/route-data-to-different-index-based-on-two-fields/m-p/177838#M35656</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2014-05-26T18:54:43Z</dc:date>
    </item>
  </channel>
</rss>

