<?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: Create new index without restarting Splunk indexer? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103352#M21726</link>
    <description>&lt;P&gt;How about doing that on a Master cluster node so it´ll be deployed on indexers peer nodes ?&lt;BR /&gt;
Any way of requesting this creation on the master-apps instead of local indexes ?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Aug 2014 04:51:54 GMT</pubDate>
    <dc:creator>theunf</dc:creator>
    <dc:date>2014-08-13T04:51:54Z</dc:date>
    <item>
      <title>Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103342#M21716</link>
      <description>&lt;P&gt;I understand that in the year 2013 it may be possible to create a new index without having to restart the indexer?  If so which version and how?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2013 19:24:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103342#M21716</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2013-07-22T19:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103343#M21717</link>
      <description>&lt;P&gt;You can if you perform the task through the GUI.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 00:17:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103343#M21717</guid>
      <dc:creator>grijhwani</dc:creator>
      <dc:date>2013-07-23T00:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103344#M21718</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Admin/CLIadmincommands"&gt;CLI Admin Commands&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"reload index" - reloads index configuration, making immediately effective all "add/edit/enable/disable index" commands since last reload or Splunk restart&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# /opt/splunk/bin/splunk reload index
# Index config reloaded.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# /opt/splunk/bin/splunk reload index -name {index_name}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jul 2013 15:17:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103344#M21718</guid>
      <dc:creator>Linegod</dc:creator>
      <dc:date>2013-07-23T15:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103345#M21719</link>
      <description>&lt;P&gt;You can also do so via the REST API. You'll want something like curl:&lt;/P&gt;

&lt;P&gt;curl -k -u &amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt; &lt;A href="https://indexer:port/servicesNS/&amp;lt;user%3E/&amp;lt;app%5C_to%5C_save%5C_settings%3E/data/indexes"&gt;https://indexer:port/servicesNS/&amp;amp;lt;user&amp;gt;/&amp;amp;lt;app\_to\_save\_settings&amp;gt;/data/indexes&lt;/A&gt; -d name=&amp;lt;newindex&amp;gt;&lt;/P&gt;

&lt;P&gt;Populated example:&lt;/P&gt;

&lt;P&gt;curl -k -u admin:changeme &lt;A href="https://127.0.0.1:8089/servicesNS/admin/search/data/indexes"&gt;https://127.0.0.1:8089/servicesNS/admin/search/data/indexes&lt;/A&gt; -d name=mytest&lt;/P&gt;

&lt;P&gt;Check the REST API Endpoint docs; you can adjust specific parameters of the index definition at creation time as well, with additional -d options.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/RESTAPI/RESTlist"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.3/RESTAPI/RESTlist&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This has the additional benefit of being able to be scripted remotely, looping over all of the indexers in your environment.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 16:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103345#M21719</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-07-23T16:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103346#M21720</link>
      <description>&lt;P&gt;Available from 4.3.x forward. I'm not sure about the specifics of ".x".&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 16:14:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103346#M21720</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-07-23T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103347#M21721</link>
      <description>&lt;P&gt;Thanks!  Just what I was looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 19:35:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103347#M21721</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2013-07-23T19:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103348#M21722</link>
      <description>&lt;P&gt;I have heard that there is some update bug when using "reload index" which results in an incomplete reload of the actual indexes.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 21:22:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103348#M21722</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2013-08-05T21:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103349#M21723</link>
      <description>&lt;OL&gt;
&lt;LI&gt; I think the -name part of the command is not used (at least it won't work in 5.0.2 but works when it is removed)&lt;/LI&gt;
&lt;LI&gt; I have seen the same issue the_wolverine mentioned.  I can reload my index config but it won't create the appropriate directories.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 02 Jan 2014 18:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103349#M21723</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2014-01-02T18:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103350#M21724</link>
      <description>&lt;P&gt;Another approach that I think I just got to work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://&amp;lt;hostname&amp;gt;:&amp;lt;splunkdport&amp;gt;/services/data/indexes/_reload" target="test_blank"&gt;https://&amp;lt;hostname&amp;gt;:&amp;lt;splunkdport&amp;gt;/services/data/indexes/_reload&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That allows you to stage your index in the appropriate app from the deployment server, but then implement without restart.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2014 18:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103350#M21724</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2014-01-02T18:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103351#M21725</link>
      <description>&lt;P&gt;Thanks alot.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 07:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103351#M21725</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-07-17T07:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103352#M21726</link>
      <description>&lt;P&gt;How about doing that on a Master cluster node so it´ll be deployed on indexers peer nodes ?&lt;BR /&gt;
Any way of requesting this creation on the master-apps instead of local indexes ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2014 04:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103352#M21726</guid>
      <dc:creator>theunf</dc:creator>
      <dc:date>2014-08-13T04:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103353#M21727</link>
      <description>&lt;P&gt;That's an interesting question given that reloading config on the master node forces restarts on the slaves.  I don't have any ideas on this one right now.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2014 11:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103353#M21727</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2014-08-15T11:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103354#M21728</link>
      <description>&lt;P&gt;I had to use this just a few minutes ago (v6.2.0) and it works without the -name parameter.. &lt;/P&gt;

&lt;H1&gt;/opt/splunk/bin/splunk reload index {index_name}&lt;/H1&gt;

&lt;P&gt;Thanks, this is much easier than restarting the production indexer after hours.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 19:19:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103354#M21728</guid>
      <dc:creator>sherm77</dc:creator>
      <dc:date>2016-03-28T19:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index without restarting Splunk indexer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103355#M21729</link>
      <description>&lt;P&gt;If clustering is enabled, we can use /opt/splunk/bin/splunk apply cluster-bundle after adjusting indexes.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 21:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-new-index-without-restarting-Splunk-indexer/m-p/103355#M21729</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-03-28T21:31:38Z</dc:date>
    </item>
  </channel>
</rss>

