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!

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...