<?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: Is it possible to divide an index to two indexes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112107#M183716</link>
    <description>&lt;P&gt;I understand that it is not possible to re-index the data which has been already indexed. I guess I should delete the data and create new indexes to divide them.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2014 07:12:54 GMT</pubDate>
    <dc:creator>appleman</dc:creator>
    <dc:date>2014-01-15T07:12:54Z</dc:date>
    <item>
      <title>Is it possible to divide an index to two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112102#M183711</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;

&lt;P&gt;I just wonder if I can divide an index into two indexes.&lt;BR /&gt;
e.g, Divide the data in index=main to index=production and index=text&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;既にIndex化されたデータ（Index1）を、途中で二つのindex（Index1とIndex2）に分けることは可能でしょうか。&lt;/P&gt;

&lt;P&gt;例：index=mainに入っているデータを、途中でindex=production と index=testに分ける &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2014 10:04:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112102#M183711</guid>
      <dc:creator>appleman</dc:creator>
      <dc:date>2014-01-14T10:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to divide an index to two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112103#M183712</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
You could create two separate indexes. Use COLLECT command to pass that info into your required indices. But it will not be possible to divide the index further once it is created and data is in them. Before passing the events to the new indexes please read the documentation.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_http://docs.splunk.com/Documentation/Splunk/6.0.1/searchreference/collect
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jan 2014 12:14:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112103#M183712</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-01-14T12:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to divide an index to two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112104#M183713</link>
      <description>&lt;P&gt;If you wanted to split the main index in half, here is what you'd do with an out of the box install:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Create two new indexes called 'text and 'production'.&lt;/LI&gt;
&lt;LI&gt;Go into the /opt/splunk/var/lib/splunk/defaultdb/db and /opt/splunk/var/lib/splunk/defaultdb/colddb. This is where the actual data sits inside of buckets using the format described &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Indexer/HowSplunkstoresindexes#Warm.2Fcold_bucket_naming_convention"&gt;here&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Move the data, using whatever logic you'd like, to the same location in the destination index so that half resides in one index and half the other. Ensure not to introduce any bucket id conflicts, otherwise the destination indexes will be disabled, as per this &lt;A href="http://answers.splunk.com/answers/23536/moving-indexes-to-a-new-splunk-server"&gt;splunk answer&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Restart the Indexer and you should now be able to search the data in the new indexes.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 14 Jan 2014 18:20:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112104#M183713</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2014-01-14T18:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to divide an index to two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112105#M183714</link>
      <description>&lt;P&gt;Thank you.&lt;BR /&gt;
So, it's possible to divide the index which has already indexed once, right? I'm bit confused since linu1988 below says it's not possible.....&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2014 01:29:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112105#M183714</guid>
      <dc:creator>appleman</dc:creator>
      <dc:date>2014-01-15T01:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to divide an index to two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112106#M183715</link>
      <description>&lt;P&gt;This solution creates a duplicate of the index in each of the new indexes, it does not separate them.  Data that has been indexed cannot be altered.&lt;BR /&gt;&lt;BR /&gt;
You will have problems going forward, because all new data will be placed into Main unless you redirect the data to the desired index.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2014 01:44:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112106#M183715</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2014-01-15T01:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to divide an index to two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112107#M183716</link>
      <description>&lt;P&gt;I understand that it is not possible to re-index the data which has been already indexed. I guess I should delete the data and create new indexes to divide them.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2014 07:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112107#M183716</guid>
      <dc:creator>appleman</dc:creator>
      <dc:date>2014-01-15T07:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to divide an index to two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112108#M183717</link>
      <description>&lt;P&gt;Well, my suggestion was to move, not copy, the data. If you move it, you're not making duplicates because each index would only have a single copy of it, with half the buckets in test and half in production. Of course, you would need to adjust your inputs and/or props/transforms to ensure the data inputs you'd like are routing to production.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2014 17:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-divide-an-index-to-two-indexes/m-p/112108#M183717</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2014-01-15T17:27:26Z</dc:date>
    </item>
  </channel>
</rss>

