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.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...