Admin Manual

 


Use separate partitions for index data

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

Use separate partitions for index data

Splunk can use separate disks and partitions for its index data. It's possible to configure Splunk to use many disks/partitions/filesystems on the basis of indexes and warm/cold, so long as you mount them correctly and configure the DB rolling. However, we recommend that you use a single high performance file system to hold your Splunk index data for the best experience.

Splunk indexes roll through four stages:

If you do use separate partitions, the most common way to arrange Splunk's index data is to keep the hot and warm buckets on the local machine, and to keep the cold bucket on a separate array or disks (for longer term storage). You want to run your hot and warm buckets on a machine with partitions that read and write fast (since you'll be doing a majority of your search operations on hot and warm). Cold should be on a reliable array of disks.

Bucket flow:

Set up separate partitions

Set up partitions just as you'd normally set them up in any operating system. Mount the disks/partitions, and make sure Splunk points to the correct path in indexes.conf.

First, add the correct paths in $SPLUNK_HOME/etc/system/local/indexes.conf. Set paths on a per-index basis -- under an [$INDEX] entry.

homePath = <path on server>

coldPath = <path on server>

thawedPath = <path on server>

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!