<?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 do I set the default index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13502#M96489</link>
    <description>&lt;P&gt;If you meant the "default" index in terms of which index(es) are searched if no "index=" clause is provided in the search string, that can be done on a per-user basis from the manager (it sets srchIndexesDefault values in authorize.conf for the given role).&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2010 06:29:35 GMT</pubDate>
    <dc:creator>smisplunk</dc:creator>
    <dc:date>2010-05-14T06:29:35Z</dc:date>
    <item>
      <title>How do I set the default index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13500#M96487</link>
      <description>&lt;P&gt;I've created a custom index that I want to be my new defaultdb.  Currently, my defaultdb is "main" index.  I want all events without an index specified to be funneled to my new custom db.  How do I do this?&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2010 06:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13500#M96487</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-05-14T06:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13501#M96488</link>
      <description>&lt;P&gt;Out-of-the-box, defaultdb is set to main.  To change this, edit your indexes.conf file to reflect the new default index.  If you have a new index called "badger", set the following at the top (global setting):&lt;/P&gt;

&lt;P&gt;defaultDatabase = badger&lt;/P&gt;

&lt;P&gt;From indexes.conf.spec:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;defaultDatabase = &amp;lt;database name&amp;gt;
* If no index is specified during search, Splunk searches default database. 
* Also the database displays by default on the homepage.
* Defaults to main.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 May 2010 06:14:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13501#M96488</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-05-14T06:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13502#M96489</link>
      <description>&lt;P&gt;If you meant the "default" index in terms of which index(es) are searched if no "index=" clause is provided in the search string, that can be done on a per-user basis from the manager (it sets srchIndexesDefault values in authorize.conf for the given role).&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2010 06:29:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13502#M96489</guid>
      <dc:creator>smisplunk</dc:creator>
      <dc:date>2010-05-14T06:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13503#M96490</link>
      <description>&lt;P&gt;Even if you change the default index as per the above instructions, this wouldn't be the 'default' index, until you granted access by adding the index to 'Indexes searched by default' under  Manager  » Access controls » Roles  » . After that point, it would be searched by default, as smisplunk indicates above. &lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2010 03:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13503#M96490</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2010-12-07T03:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13504#M96491</link>
      <description>&lt;P&gt;The default index above refers specifically to which index data is funneled to when an index is not specified for the datasource.  But you are correct that there is a separate configuration that would need to be modified for searching if you want that index to also be the default SEARCH index.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2010 02:47:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13504#M96491</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-12-08T02:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13505#M96492</link>
      <description>&lt;P&gt;You can do this by going to roles in the GUI under users and authentication (Version 8.0.1). Then find the role for the group of users and click the indexes tab. Under there you will see a default column you can check to set the default index(s).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 16:16:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-the-default-index/m-p/13505#M96492</guid>
      <dc:creator>zotamus</dc:creator>
      <dc:date>2020-01-20T16:16:34Z</dc:date>
    </item>
  </channel>
</rss>

