Reporting

How to change the path of "datamodel_summary"

mkelderm
Path Finder

How can I change the path of the directory "datamodel_summary". I see that all my indexes, migrated from 5.0 to 6.0, have an addition subdirectory named "datamodel_summary".

Tags (3)
0 Karma
1 Solution

sowings
Splunk Employee
Splunk Employee

This is defined as "tstatsHomePath" in the indexes.conf. By default, it contains a volume definition, volume:_splunk_summaries. If you wish to relocate them as a whole, you could change the volume definition. It defaults to $SPLUNK_DB.

View solution in original post

mkelderm
Path Finder

To complete for our viewers:

indexes.conf

# SAN Storage
#
[volume:splunkdb_cold]
path=/data/splunkdb_cold
# Maximum size of the volume will be 2.0 TB
maxVolumeDataSizeMB=2000000

#
# Local Disks
#
[volume:splunkdb_warm]
path=/data/splunkdb_warm
# Maximum size of the volume will be 1.9 TB
maxVolumeDataSizeMB=1900000

#
# Indexes refering to the volumes.
[prd_log]
coldPath = volume:splunkdb_cold/prd_log/colddb
homePath = volume:splunkdb_warm/prd_log/db
tstatsHomePath = volume:splunkdb_warm/prd_log/datamodel_summary
thawedPath = /data/splunkdb_warm/prd_log/thaweddb
frozenTimePeriodInSecs = 217728000
maxDataSize = auto_high_volume

sowings
Splunk Employee
Splunk Employee

Cool, thanks for providing the sample for others!

0 Karma

sowings
Splunk Employee
Splunk Employee

This is defined as "tstatsHomePath" in the indexes.conf. By default, it contains a volume definition, volume:_splunk_summaries. If you wish to relocate them as a whole, you could change the volume definition. It defaults to $SPLUNK_DB.

View solution in original post

Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.