<?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 indexing data into two different indexes from one single log source without consuming Splunk License? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-indexing-data-into-two-different-indexes-from-one-single/m-p/222206#M43584</link>
    <description>&lt;P&gt;Hi kangriawan, &lt;/P&gt;

&lt;P&gt;There is a license meter at the end of the parsing phase, and any _raw data is metered for license usage before they are compressed and written to disk. So, if you want to keep duplicate _raw events in both indexes, there is no way you can consume license for data in just one index. &lt;/P&gt;

&lt;P&gt;Duplicating data after they are indexed does not consume license. Actually, if you want to keep more than one copy of the data, why don't you deploy an indexer cluster to keep several copies of indexed data? Set the replication factor and the specified copies of indexed data will be replicated across the cluster without consuming additional license. &lt;/P&gt;

&lt;P&gt;For details, please refer to the docs: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Aboutclusters"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Aboutclusters&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps. Thanks! &lt;BR /&gt;
Hunter&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 18:30:15 GMT</pubDate>
    <dc:creator>hunters_splunk</dc:creator>
    <dc:date>2017-01-06T18:30:15Z</dc:date>
    <item>
      <title>How to indexing data into two different indexes from one single log source without consuming Splunk License?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-indexing-data-into-two-different-indexes-from-one-single/m-p/222205#M43583</link>
      <description>&lt;P&gt;I had tried to set the configuration from all the question that have been asked at the Splunk answers, in my experiments by using props and transforms it's only reroute the data into another index. So it's like replacing the existing index that we already set up in inputs.conf.&lt;/P&gt;

&lt;P&gt;Here's my example :&lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;BR /&gt;
[script://./bin/top.sh]&lt;BR /&gt;
interval = 60&lt;BR /&gt;
sourcetype = top&lt;BR /&gt;
source = top&lt;BR /&gt;
index = os&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;Props.conf&lt;BR /&gt;
[top]&lt;BR /&gt;
 TRANSFORMS-duplicate1 = replicate1, replicate2&lt;/P&gt;

&lt;P&gt;Transforms.conf&lt;BR /&gt;
[replicate1]&lt;BR /&gt;
 REGEX = .&lt;BR /&gt;
 DEST_KEY = _MetaData:Index&lt;BR /&gt;
 FORMAT = os&lt;/P&gt;

&lt;P&gt;[replicate2]&lt;BR /&gt;
 REGEX = .&lt;BR /&gt;
 DEST_KEY = _MetaData:Index&lt;BR /&gt;
 FORMAT = test2&lt;/P&gt;

&lt;P&gt;So what i want to do here is to replicate the exact same data into two different indexes without consuming license, any idea?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 08:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-indexing-data-into-two-different-indexes-from-one-single/m-p/222205#M43583</guid>
      <dc:creator>kangriawan</dc:creator>
      <dc:date>2017-01-06T08:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to indexing data into two different indexes from one single log source without consuming Splunk License?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-indexing-data-into-two-different-indexes-from-one-single/m-p/222206#M43584</link>
      <description>&lt;P&gt;Hi kangriawan, &lt;/P&gt;

&lt;P&gt;There is a license meter at the end of the parsing phase, and any _raw data is metered for license usage before they are compressed and written to disk. So, if you want to keep duplicate _raw events in both indexes, there is no way you can consume license for data in just one index. &lt;/P&gt;

&lt;P&gt;Duplicating data after they are indexed does not consume license. Actually, if you want to keep more than one copy of the data, why don't you deploy an indexer cluster to keep several copies of indexed data? Set the replication factor and the specified copies of indexed data will be replicated across the cluster without consuming additional license. &lt;/P&gt;

&lt;P&gt;For details, please refer to the docs: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Aboutclusters"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Aboutclusters&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps. Thanks! &lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 18:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-indexing-data-into-two-different-indexes-from-one-single/m-p/222206#M43584</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2017-01-06T18:30:15Z</dc:date>
    </item>
  </channel>
</rss>

