Book Image

Mastering Splunk

By : James D. Miller
Book Image

Mastering Splunk

By: James D. Miller

Overview of this book

Table of Contents (18 chapters)
Mastering Splunk
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring indexes


Splunk will allow you to set the location (path) to your nonclustered indexes using Splunk Web, but the majority of the configurations must be done by editing the indexes.conf file (for this discussion, we will stick to nonclustered indexes).

The indexes.conf file should be saved at $SPLUNK_HOME/etc/system/local/ or in a custom app directory, in $SPLUNK_HOME/etc/apps/.

The following are the most interesting index configuration attributes (you can use the product documentation to review the full list):

  • homePath, coldPath, and thawedPath: These attributes are all required settings. These indicate where Splunk will place the index buckets (hot/warm are stored in home, cold in cold, and thawed in thawed). The ColdToFrozenDir attribute is optional and indicates where Splunk will archive data before deleting it from an index.

  • maxHotBuckets: This attribute is the limit of hot or live index buckets, and maxDataSize is the attribute to limit how big a hot or live bucket can grow...