About managing indexes
When you add data, the indexer processes it and stores it in an index. By default, data you feed to an indexer is stored in the main index, but you can create and specify other indexes 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 information on index storage, see How Splunk Enterprise stores indexes.
In addition to the main index, Splunk Enterprise comes preconfigured with a number of internal indexes. Internal indexes begin with an underscore (_); for example, _audit and _internal.
To see a full list of internal indexes, go to Splunk Web, select the Settings link in the upper portion of the screen, and then select Indexes.
A number of topics in this manual describe ways you can manage your indexes. In particular, the following topics are helpful in index management:
- Create custom 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
Index types
Splunk Enterprise supports two types of indexes:
- Events indexes. Events indexes impose minimal structure and can accommodate any type of data, including metrics data. Events indexes are the default index type.
- Metrics indexes. Metrics indexes use a highly structured format to handle the higher volume and lower latency demands associated with metrics data. Putting metrics data into metrics indexes results in faster performance and less use of index storage, compared to putting the same data into events indexes. For information on the metrics format, see the Metrics manual.
There are minimal differences in how indexers handle the two index types. Any differences that do exist are described in the relevant topic.
For more information about 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 Getting Data In.
- The chapter Set up and use summary indexes in the Knowledge Manager Manual, for information about working with extremely large datasets.
Indexers in a distributed deployment | Create custom indexes |
This documentation applies to the following versions of Splunk® Enterprise: 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5, 9.0.6, 9.0.7, 9.0.8, 9.0.9, 9.0.10, 9.1.0, 9.1.1, 9.1.2, 9.1.3, 9.1.4, 9.1.5, 9.1.6, 9.1.7, 9.2.0, 9.2.1, 9.2.2, 9.2.3, 9.2.4, 9.3.0, 9.3.1, 9.3.2, 9.4.0
Feedback submitted, thanks!