Splunk stores all processed data 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 preconfigured indexes:
You can add and remove indexes or move existing indexes.
Search indexes via Splunk Web. Splunk Web searches automatically look through the default index (by default, main) unless otherwise specified. If you have created a new index, or want to search in any index that is not default, you must specify the index in your search:
This searches in the hatch index for the userid=henry.gale.
Data managementIndex management is the main method for data management, including:
You can also set up Splunk to use multiple partitions for its datastore, or use a write once, read many storage device.
Configuration files for index managementSplunk's indexes are managed through the indexes.conf configuration file. You should make changes to this file in $SPLUNK_HOME/etc/bundles/local or create a new bundle.
Note: settings in indexes.conf are per index rather than a global server setting.
Before making changes to how Splunk manages data consider:
Comments
No comments have been submitted.