<?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 duplicate data to another index without resending back to tcpout? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242595#M47026</link>
    <description>&lt;P&gt;Thanks! Unfortunately it doesn't get me the "like for like" proof I'm after it will also be a large resource hog to do so. Search time exceeds the time frame so it can't keep up with the incoming data.&lt;/P&gt;

&lt;P&gt;It's a non trivial volume of data hence the entire requirement to do it on the way in.&lt;/P&gt;

&lt;P&gt;I think I'm going to just pull the trigger on it and pray this fixes the issue.&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2016 02:06:56 GMT</pubDate>
    <dc:creator>Lucas_K</dc:creator>
    <dc:date>2016-05-20T02:06:56Z</dc:date>
    <item>
      <title>How to duplicate data to another index without resending back to tcpout?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242592#M47023</link>
      <description>&lt;P&gt;I have a situation where I'd like to duplicate some or all events going to one index into another.&lt;/P&gt;

&lt;P&gt;The only point at which I can touch the data is as it hits the indexers. I can't use another heavy forwarder to do the duplication in flight.&lt;/P&gt;

&lt;P&gt;In reading the docs, I've come up with this, but I think I'm missing something fundamental.&lt;/P&gt;

&lt;P&gt;At a basic level below is sort of what I want:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mydupesourcetype]
TRANSFORMS-duplicate = original_index, duplicate_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[original_index]
FORMAT = indexa
REGEX = (.)
DEST_KEY = _MetaData:Index

[duplicate_index]
REGEX = mydupesourcetype
FORMAT = indexb
SOURCE_KEY = MetaData:Sourcetype
DEST_KEY = _MetaData:Index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This would mean the props and transforms above would never work as it would just rename the index in the duplicate_index stanza.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 00:25:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242592#M47023</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2016-05-11T00:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to duplicate data to another index without resending back to tcpout?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242593#M47024</link>
      <description>&lt;P&gt;Hi Lucas K,&lt;/P&gt;

&lt;P&gt;a quick thought here, how about using a &lt;CODE&gt;collect&lt;/CODE&gt; search to duplicate some events into the new index or if you want to duplicate all events into the new index copy the buckets?&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 01:25:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242593#M47024</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-05-11T01:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to duplicate data to another index without resending back to tcpout?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242594#M47025</link>
      <description>&lt;P&gt;You can use &lt;CODE&gt;collect&lt;/CODE&gt; to copy existing data to another index or you can use &lt;CODE&gt;CLONE_SOURCETYPE&lt;/CODE&gt; to clone new data as it comes in (but it has to be cloned to a different &lt;CODE&gt;sourcetype&lt;/CODE&gt;).&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 02:16:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242594#M47025</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-05-11T02:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to duplicate data to another index without resending back to tcpout?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242595#M47026</link>
      <description>&lt;P&gt;Thanks! Unfortunately it doesn't get me the "like for like" proof I'm after it will also be a large resource hog to do so. Search time exceeds the time frame so it can't keep up with the incoming data.&lt;/P&gt;

&lt;P&gt;It's a non trivial volume of data hence the entire requirement to do it on the way in.&lt;/P&gt;

&lt;P&gt;I think I'm going to just pull the trigger on it and pray this fixes the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 02:06:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242595#M47026</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2016-05-20T02:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to duplicate data to another index without resending back to tcpout?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242596#M47027</link>
      <description>&lt;P&gt;Clone_sourcetype. Hmm haven't seen that one before will have to investigate the one.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 02:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-duplicate-data-to-another-index-without-resending-back-to/m-p/242596#M47027</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2016-05-20T02:07:45Z</dc:date>
    </item>
  </channel>
</rss>

