About managing indexes
When you add data to Splunk, Splunk processes it and stores it in an index. By default, data you feed to Splunk is stored in the main index, but you can create and specify other indexes for Splunk to use for different data inputs.
An index is a collection of directories and files. These are located under
$SPLUNK_HOME/var/lib/splunk. Index directories are also called buckets and are organized by age. For detailed information on index storage, see "How Splunk stores indexes".
In addition to the main index, Splunk comes preconfigured with a number of internal indexes. Internal indexes are named starting with an underscore (_). You can see a full list of indexes in Splunk Web if you click the Manager link in the upper portion of Splunk Web and then click Indexes. These include:
- main: The default Splunk index. All processed external data is stored here unless otherwise specified.
- _internal: This index includes internal logs and metrics from Splunk's processors.
- _audit: Events from the file system change monitor, auditing, and all user search history.
A number of topics in this manual describe ways you can manage your indexes. In particular the following topics are helpful in index management:
- Set up multiple indexes
- Remove indexes and data from Splunk
- Configure index storage
- Move the index database
- Use multiple partitions for index data
- Configure index size
- Set limits on disk usage
- Back up indexed data
- Set a retirement and archiving policy
For more information on the indexing process
To learn more about indexes, see:
- The topic "How indexing works" in this manual.
- The topic "How Splunk stores indexes" in this manual.
- The chapter "About clusters and index replication" in this manual.
- The chapter "Configure event processing" in the Getting Data In Manual.
- The chapter "Set up and use summary indexes" in the Knowledge Manager Manual, for information on working with extremely large datasets.
Indexers in a distributed deployment
Set up multiple indexes
This documentation applies to the following versions of Splunk® Enterprise: 5.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.0.10, 5.0.11, 5.0.12, 5.0.13, 5.0.14, 5.0.15, 5.0.16, 5.0.17, 5.0.18