Getting Data In

Why was the datamodel_summary folder created automatialy after I changed the Splunk_DB path?

Shuhei052492
Path Finder

Hi,

I changed the path of index data from D drive to New drive.
It was successful to change and possible to search logs in the new Drive.
But I found the same indexname folder in D drive and there is the "datamodel_summary" folder.

I would like to change only the index.So I would not like to change Splunk_DB in splunk-launch.conf.
Is it happened not to change Splunk_DB in splunk-launch.conf?
Also what should I do for Splunk to create the "datamodel_summary" folder in new Drive?
I appreciate any suggestions.

Environment
Splunk : 6.5.3
OS : Windows server 2012 R2

splunk-launch.conf

SPLUNK_DB=D:\splunk_data\splunk\

indexes.conf (Before)

    [test-index]
    coldPath = $SPLUNK_DB\test-index\colddb
    homePath = $SPLUNK_DB\test-index\db
    thawedPath = $SPLUNK_DB\test-index\thaweddb
    frozenTimePeriodInSecs = 34300800
    coldToFrozenDir = D:\splunk_data\archive\test-index

indexes.conf (After)

[test-index]
coldPath = E:\splunk_data\splunk\test-index\colddb
homePath = E:\splunk_data\splunk\test-index\db
thawedPath = E:\splunk_data\splunk\test-index\thaweddb
frozenTimePeriodInSecs = 34300800
coldToFrozenDir = E:\splunk_data\archive\test-index

This is the way to change:
1.Stop splunk service.
2.Move D:\splunk_data\splunk\i-filter to E:\splunk_data\splunk\i-filter.
3.Change the indexes.conf.
4.Start splunk service.

Regards,

0 Karma

p_gurav
Champion

did you stop input for that index and then change the path?

0 Karma

Shuhei052492
Path Finder

Yes. While Splunk service was stopped, I changed the path.

0 Karma

p_gurav
Champion

Not service dear, I mean input from which data is indexing in test-index.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...