<?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: Forward messages to different indexes based on the value of its field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459670#M94332</link>
    <description>&lt;P&gt;Yes, I want to forward events with different value to a different indexes.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jul 2018 14:23:27 GMT</pubDate>
    <dc:creator>myordanov95</dc:creator>
    <dc:date>2018-07-25T14:23:27Z</dc:date>
    <item>
      <title>Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459666#M94328</link>
      <description>&lt;P&gt;Is it possible to forward messages to different indexes based on the value of message field ?&lt;BR /&gt;
And which forwarder is the most appropriate (Universal or Heavy) ? &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 10:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459666#M94328</guid>
      <dc:creator>myordanov95</dc:creator>
      <dc:date>2018-07-25T10:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459667#M94329</link>
      <description>&lt;P&gt;Yes. Using &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt;, you can achieve this. Please provide some sample data to perform regex matching. Otherwise, below is the basic structure of configuration settings for routing events. &lt;/P&gt;

&lt;P&gt;Props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_custom_sourcetype]
TRANSFORMS-routing = routing_based_on_field_values
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[routing_based_on_field_values]
REGEX = &amp;lt;your_custom_regex&amp;gt;
DEST_KEY = _MetaData:Index
FORMAT = &amp;lt;alternate_index_name&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can find more information in below links, let me know if this helps.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.2/Indexer/Setupmultipleindexes#Route_specific_events_to_a_different_index"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.2/Indexer/Setupmultipleindexes#Route_specific_events_to_a_different_index&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/566448/route-specific-events-to-a-relative-index.html"&gt;https://answers.splunk.com/answers/566448/route-specific-events-to-a-relative-index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 13:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459667#M94329</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-07-25T13:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459668#M94330</link>
      <description>&lt;P&gt;In case of having a thousands of different values , I want to create thousands of indexes. Does it mean I have to declared thousands of stanzas. &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459668#M94330</guid>
      <dc:creator>myordanov95</dc:creator>
      <dc:date>2018-07-25T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459669#M94331</link>
      <description>&lt;P&gt;Oh, you want to route each event with different value to a different index? I thought, you want to look for specific value in the raw events and route all the events which have this specific value to different index(s). &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459669#M94331</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-07-25T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459670#M94332</link>
      <description>&lt;P&gt;Yes, I want to forward events with different value to a different indexes.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:23:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459670#M94332</guid>
      <dc:creator>myordanov95</dc:creator>
      <dc:date>2018-07-25T14:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459671#M94333</link>
      <description>&lt;P&gt;Can you provide some sample events with values which you want to route.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:34:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459671#M94333</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-07-25T14:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459672#M94334</link>
      <description>&lt;P&gt;{"name":"value1"},&lt;BR /&gt;
{"name":"value2"},&lt;BR /&gt;
....&lt;BR /&gt;
{"name":"value1000"}&lt;/P&gt;

&lt;P&gt;In this case, I want to forward events to 1000 indexes.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459672#M94334</guid>
      <dc:creator>myordanov95</dc:creator>
      <dc:date>2018-07-25T14:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459673#M94335</link>
      <description>&lt;P&gt;Are all these events coming from 1 source/host? Also, why do you want to forward &lt;STRONG&gt;each&lt;/STRONG&gt; event to &lt;STRONG&gt;each&lt;/STRONG&gt; index. &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459673#M94335</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-07-25T14:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Forward messages to different indexes based on the value of its field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459674#M94336</link>
      <description>&lt;P&gt;Sorry, I am looking for solution of this problem.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:54:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-messages-to-different-indexes-based-on-the-value-of-its/m-p/459674#M94336</guid>
      <dc:creator>myordanov95</dc:creator>
      <dc:date>2018-07-25T14:54:06Z</dc:date>
    </item>
  </channel>
</rss>

