Knowledge Manager Manual

 


When you first deploy Splunk

How indexing works

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

How indexing works

Indexing is the manner in which Splunk processes the data that you send to it so that it can be searched on and analyzed. Splunk can index any type of time-series data (data with timestamps). When Splunk indexes data, it breaks it into events based on its timestamps.

As Splunk processes event data for the index, it performs a variety of actions on those events:

For more information about events and what happens to them during the indexing process, see "About events" in this manual.

Indexing is an I/O-intensive process.


What's in an index?

Splunk stores all of the data it processes in indexes. Indexes, in turn, are stored in databases, which are located in $SPLUNK_HOME/var/lib/splunk. A database is a directory named db_<starttime>_<endtime>_<seq_num>. An index is a collection of database directories.

Splunk comes with the following preconfigured indexes:

A Splunk administrator can create new indexes, edit index properties, remove unwanted indexes, and relocate existing indexes. Splunk administrators manage indexes both through Splunk Manager, the CLI, and configuration files such as indexes.conf. For more information, see the "Manage Indexes" section of the Admin manual.

This documentation applies to the following versions of Splunk: 4.0 , 4.0.1 , 4.0.2 , 4.0.3 , 4.0.4 , 4.0.5 , 4.0.6 , 4.0.7 , 4.0.8 , 4.0.9 , 4.0.10 , 4.0.11 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!