<?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 search index in Splunk Light? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281384#M84880</link>
    <description>&lt;P&gt;create new file \etc\system\local\authorize.conf and add following stanza, to make that index searchable by default for all users:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_user]
srchIndexesDefault = main;my_new_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want to restrict it to only Administrators, then use following stanza instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_admin]
srchIndexesDefault = main;my_new_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then restart Splunk Light.&lt;BR /&gt;
Changing indexes.conf, will only change your default index when importing data.&lt;BR /&gt;
Also, @somesoni2 is correct, you should never update conf files under default, as they will get overwritten upon updates.&lt;BR /&gt;
Hope this helps.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 00:09:57 GMT</pubDate>
    <dc:creator>dkoshe_splunk</dc:creator>
    <dc:date>2016-06-07T00:09:57Z</dc:date>
    <item>
      <title>How do I set the default search index in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281382#M84878</link>
      <description>&lt;P&gt;In Splunk Enterprise you can set the default search index per user. In Splunk Light you cannot it seems?&lt;/P&gt;

&lt;P&gt;I read another post which said you can edit the &lt;STRONG&gt;\etc\system\default\indexes.conf&lt;/STRONG&gt; file and set &lt;STRONG&gt;defaultDatabase=my_new_index&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;And yet another post that said you should create &lt;STRONG&gt;\etc\system\local\indexes.conf&lt;/STRONG&gt; file and set &lt;STRONG&gt;defaultDatabase=my_new_index&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I tried both and restarted Splunk after each, but neither have made a difference.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281382#M84878</guid>
      <dc:creator>jrailton</dc:creator>
      <dc:date>2020-09-29T09:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default search index in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281383#M84879</link>
      <description>&lt;P&gt;The Splunk Light doesn't support role customization (the default searched index is role/user level attribute).&lt;/P&gt;

&lt;P&gt;Also, you should never change any configuration from folder &lt;CODE&gt;\etc\system\default\.&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 16:22:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281383#M84879</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-06T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default search index in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281384#M84880</link>
      <description>&lt;P&gt;create new file \etc\system\local\authorize.conf and add following stanza, to make that index searchable by default for all users:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_user]
srchIndexesDefault = main;my_new_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want to restrict it to only Administrators, then use following stanza instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_admin]
srchIndexesDefault = main;my_new_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then restart Splunk Light.&lt;BR /&gt;
Changing indexes.conf, will only change your default index when importing data.&lt;BR /&gt;
Also, @somesoni2 is correct, you should never update conf files under default, as they will get overwritten upon updates.&lt;BR /&gt;
Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 00:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281384#M84880</guid>
      <dc:creator>dkoshe_splunk</dc:creator>
      <dc:date>2016-06-07T00:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the default search index in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281385#M84881</link>
      <description>&lt;P&gt;&lt;EM&gt;"all these worlds are yours, except /default - attempt no editing there"&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;-- @duckfez, 2010&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Admin/Configurationfiledirectories"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Admin/Configurationfiledirectories&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 00:25:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-the-default-search-index-in-Splunk-Light/m-p/281385#M84881</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-07T00:25:46Z</dc:date>
    </item>
  </channel>
</rss>

