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!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...