Splunk® Enterprise

Managing Indexers and Clusters of Indexers

Acrobat logo Download manual as PDF

Splunk Enterprise version 7.2 is no longer supported as of April 30, 2021. See the Splunk Software Support Policy for details. For information about upgrading to a supported version, see How to upgrade Splunk Enterprise.
This documentation does not apply to the most recent version of Splunk® Enterprise. For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Add a SmartStore index

The process of adding a SmartStore index is similar to adding a non-SmartStore index. You create a new index stanza in indexes.conf and configure path information and other settings. See Create custom indexes.

As with all indexes.conf settings, use the configuration bundle method when adding an index to the peer nodes on an indexer cluster.

Note the following:

  • SmartStore-related settings in indexes.conf are usually configured at the global level, not at the individual index level. In that case, it is unlikely that you will need to specify those settings when adding a new index. However, if you are using multiple remote volumes or if you have a mix of SmartStore and non-SmartStore indexes, you must specify the SmartStore settings at the index level.
  • If the SmartStore settings are configured globally, then a new index stanza usually needs only the homePath, thawedPath, and coldPath settings.
  • You must specify a value for coldPath, even though SmartStore does not use the coldPath.
  • Use maxDataSize = auto (the default value, which is 750MB).
  • See SmartStore settings in indexes.conf for a list of relevant SmartStore settings.

For example, assume that you have already set all SmartStore-related configurations at the global level. Then, to configure a new index called "cs_index", just add the following stanza to indexes.conf:

homePath = $SPLUNK_DB/cs_index/db
thawedPath = $SPLUNK_DB/cs_index/thaweddb
coldPath = $SPLUNK_DB/cs_index/colddb

In the case of indexer clusters, all index stanzas must either include the setting repFactor = auto or inherit the setting from the global level .

Last modified on 26 March, 2019
Configure data retention for SmartStore indexes
Troubleshoot SmartStore

This documentation applies to the following versions of Splunk® Enterprise: 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10

Was this documentation topic helpful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters