Getting Data In

Datamodels with Smartstore

7aurelius
Loves-to-Learn

I have an environment where I'm using a datamodel with the _internal index. My datamodel_summary is created in the path where my _internaldb is. Here is my index definition:

 

 

 

[_internal]
homePath   = /opt/splunk/var/lib/splunk/_internaldb/db
coldPath   = /opt/splunk/var/lib/splunk/_internaldb/colddb
thawedPath = /opt/splunk/var/lib/splunk/_internaldb/thaweddb
tstatsHomePath = /opt/splunk/var/lib/splunk/_internaldb/datamodel_summary

 

 

The documentation suggests that the tstatshomepath value cannot be used with smartstore. How do I define a datamodel with Smartstore otherwise?

Labels (2)
0 Karma

nickhills
Ultra Champion

I think the wording is a little confusing, but "tstatsHomePath" allows you to dictate where this data is stored if you wanted to separate it from the rest of your index data, but importantly you do not have to specify a "tstatsHomePath"!

The wording in the spec file says that you should not configure this value for an index with remote storage, so this just means for a Smartstore index do not define "tstatsHomePath"  - the cachemanager will handle this for you.

 

 

If my comment helps, please give it a thumbs up!

7aurelius
Loves-to-Learn

@nickhills  so how would I define the internal _index above in smartstore with a datamodel?

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...