Admin Manual

 


About the Splunk Admin Manual
How Splunk Works

Splunk data management

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

Splunk data management

Splunk stores all processed data in indexes. Splunk ships with preconfigured indexes in $SPLUNK_HOME/etc/system/default/indexes.conf. The following is a list of the indexes and what they contain:

Each index is a collection of databases located in $SPLUNK_HOME/var/lib/splunk. Databases are named as db_<starttime>_<endtime>_<seq_num>.

By default, Splunk searches through the main index. If you want to restrict your search to an index other than main, use index= to specify the index in your search. For example, to search for userid=henry.gale only in the hatch index:

index=hatch userid=henry.gale

Index management

You can add and remove indexes or move existing indexes.

Manage your indexes by configuring:

Configure Splunk to use multiple partitions for its datastore, or use a write once, read many storage device.

Configuration files for index management

Splunk's indexes are managed through indexes.conf. Edit this file in $SPLUNK_HOME/etc/system/local/, or your own custom application directory in $SPLUNK_HOME/etc/apps/. For more information on configuration files in general, see how configuration files work.

Note: Settings in indexes.conf are configured per index (rather than a global server setting).

Before making changes to how Splunk manages data consider:

This documentation applies to the following versions of Splunk: 3.3 , 3.3.1 , 3.3.2 , 3.3.3 , 3.3.4 , 3.4 , 3.4.1 , 3.4.2 , 3.4.3 , 3.4.5 , 3.4.6 , 3.4.8 , 3.4.9 , 3.4.10 , 3.4.11 , 3.4.12 , 3.4.13 , 3.4.14 View the Article History for its revisions.


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

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!