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!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

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

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...