<?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 load data into multiple indexes based on the event data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-load-data-into-multiple-indexes-based-on-the-event-data/m-p/232053#M45220</link>
    <description>&lt;P&gt;You may do this by using props.conf and transforms.conf.&lt;/P&gt;

&lt;P&gt;-----------------props.conf---------------------&lt;/P&gt;

&lt;P&gt;[index_A]&lt;BR /&gt;
TRANSFORMS-filter_A_events= filter_A_events&lt;/P&gt;

&lt;P&gt;[index_B]&lt;BR /&gt;
TRANSFORMS-filter_B_events= filter_B_events&lt;/P&gt;

&lt;P&gt;[index_C]&lt;/P&gt;

&lt;H2&gt;TRANSFORMS-filter_C_events= filter_C_events&lt;/H2&gt;

&lt;P&gt;----------Transforms.conf--------------------------&lt;/P&gt;

&lt;P&gt;[filter_A_events]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[filter_B_events]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[filter_C_events]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;If you are using HF to forward events, place these .conf files on HF.&lt;BR /&gt;
If you are using UF for forward events, place these .conf files on Indexer&lt;/P&gt;

&lt;P&gt;Hope this helps ...!!!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 11:50:11 GMT</pubDate>
    <dc:creator>neelshah</dc:creator>
    <dc:date>2020-09-29T11:50:11Z</dc:date>
    <item>
      <title>How to load data into multiple indexes based on the event data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-load-data-into-multiple-indexes-based-on-the-event-data/m-p/232052#M45219</link>
      <description>&lt;P&gt;Can I dynamically assign index value at the indexer level to the events based on the data and load the data into the right index?&lt;BR /&gt;
For example:&lt;BR /&gt;
1,A,200&lt;BR /&gt;
2,A,300&lt;BR /&gt;
3,B,200&lt;BR /&gt;
4,B,300&lt;BR /&gt;
5,C,500&lt;BR /&gt;
6,C,300&lt;/P&gt;

&lt;P&gt;I have created three indexes indexA, indexB, indexC&lt;BR /&gt;
I want to load the data into indexA,indexB,indexC based on the second column.&lt;/P&gt;

&lt;P&gt;After data is loaded:&lt;BR /&gt;
in IndexA I should have&lt;BR /&gt;
1,A,200&lt;BR /&gt;
2,A,300&lt;/P&gt;

&lt;P&gt;in indexB I should have&lt;BR /&gt;
3,B,200&lt;BR /&gt;
4,B,300&lt;/P&gt;

&lt;P&gt;in indexC I should have&lt;BR /&gt;
5,C,500&lt;BR /&gt;
6,C,300&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 21:45:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-load-data-into-multiple-indexes-based-on-the-event-data/m-p/232052#M45219</guid>
      <dc:creator>khreddy777</dc:creator>
      <dc:date>2016-11-17T21:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data into multiple indexes based on the event data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-load-data-into-multiple-indexes-based-on-the-event-data/m-p/232053#M45220</link>
      <description>&lt;P&gt;You may do this by using props.conf and transforms.conf.&lt;/P&gt;

&lt;P&gt;-----------------props.conf---------------------&lt;/P&gt;

&lt;P&gt;[index_A]&lt;BR /&gt;
TRANSFORMS-filter_A_events= filter_A_events&lt;/P&gt;

&lt;P&gt;[index_B]&lt;BR /&gt;
TRANSFORMS-filter_B_events= filter_B_events&lt;/P&gt;

&lt;P&gt;[index_C]&lt;/P&gt;

&lt;H2&gt;TRANSFORMS-filter_C_events= filter_C_events&lt;/H2&gt;

&lt;P&gt;----------Transforms.conf--------------------------&lt;/P&gt;

&lt;P&gt;[filter_A_events]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[filter_B_events]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[filter_C_events]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;If you are using HF to forward events, place these .conf files on HF.&lt;BR /&gt;
If you are using UF for forward events, place these .conf files on Indexer&lt;/P&gt;

&lt;P&gt;Hope this helps ...!!!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:50:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-load-data-into-multiple-indexes-based-on-the-event-data/m-p/232053#M45220</guid>
      <dc:creator>neelshah</dc:creator>
      <dc:date>2020-09-29T11:50:11Z</dc:date>
    </item>
  </channel>
</rss>

