<?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: Changing the default index after installation. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344647#M41637</link>
    <description>&lt;P&gt;Thanks to those who answered.  I opted to use the new role and set okta as the default index as it was the simplest solution.  I will explore the other suggestions as well.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2017 16:18:22 GMT</pubDate>
    <dc:creator>jparct</dc:creator>
    <dc:date>2017-11-07T16:18:22Z</dc:date>
    <item>
      <title>Changing the default index after installation.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344644#M41634</link>
      <description>&lt;P&gt;I selected the main index mistakenly during the installation of the Splunk app and add-on for Okta.  How do I change this so that the correct index is selected automatically?  The index I configured is collecting data as I can specify index=okta in a search and receive current information, it's just that the dashboards aren't displaying the any current information.  Splunk 6.6.0 installed on a Ubuntu server.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 17:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344644#M41634</guid>
      <dc:creator>jparct</dc:creator>
      <dc:date>2017-11-06T17:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the default index after installation.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344645#M41635</link>
      <description>&lt;P&gt;One possible solution would be to create a new role , put "okta" as a default index for the role and then assign this role to the users who should be accessing the dashboards.  &lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 05:49:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344645#M41635</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2017-11-07T05:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the default index after installation.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344646#M41636</link>
      <description>&lt;P&gt;The best practice for index is the administrator to have overall control over all indexes.conf configuration. What we do is we create a single app with all index configurations and disable index configuration in all other apps.&lt;BR /&gt;
So in your case, the best way is&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;In your &lt;CODE&gt;inputs.conf&lt;/CODE&gt;, ensure you make an entry  &lt;CODE&gt;index=okta&lt;/CODE&gt;  in your &lt;CODE&gt;monitor&lt;/CODE&gt; stanza along &amp;amp;&amp;amp; correct &lt;CODE&gt;sourcetype&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Disable any &lt;CODE&gt;index=main&lt;/CODE&gt; in your app or default apps for the above sourcetype  (if it exists). You can check this using btool&lt;/LI&gt;
&lt;LI&gt;enable the index settings in &lt;CODE&gt;indexes.conf&lt;/CODE&gt;  for &lt;CODE&gt;index=okta&lt;/CODE&gt; providing correct bucket settings, rollover settings etc.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;=========== example below ======&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#inputs.conf
[monitor:///mycollection/location/filename]
sourcetype=required_okta_sourcetype
index = okta
blacklist = \.gz$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;==&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# indexes.conf

    [okta]
    homePath   = volume:home/okta/db
    coldPath   = volume:cold/okta/colddb
    thawedPath = $SPLUNK_DB/okta/thaweddb
    tstatsHomePath = volume:home/okta/datamodel_summary
    frozenTimePeriodInSecs = 34164000
    maxHotBuckets = 10
    maxDataSize = auto_high_volume
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344646#M41636</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-11-07T09:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the default index after installation.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344647#M41637</link>
      <description>&lt;P&gt;Thanks to those who answered.  I opted to use the new role and set okta as the default index as it was the simplest solution.  I will explore the other suggestions as well.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344647#M41637</guid>
      <dc:creator>jparct</dc:creator>
      <dc:date>2017-11-07T16:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the default index after installation.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344648#M41638</link>
      <description>&lt;P&gt;Thanks for this suggestion.  I will explore this further.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Changing-the-default-index-after-installation/m-p/344648#M41638</guid>
      <dc:creator>jparct</dc:creator>
      <dc:date>2017-11-07T16:18:57Z</dc:date>
    </item>
  </channel>
</rss>

