Splunk Enterprise

How to Splunk index path change

thkwon
Explorer

Hello 

I want to save hot/warm and cold separately when I make splunk index.

Hot/Warm is stored in /tmp/hotwarm and cold is stored in /tmp/cold path.

However, it is time to create an index in the Splunk UI.

I know to separate routes from indexes.conf. It's just that I want to save it in the UI as Default in the path I want to save.

What should I do?

Thanks

Labels (1)
0 Karma

manjunathmeti
Champion

hi @thkwon,

You can provide the Home path and Cold path in the UI also.
If you don't provide paths, by default home path is set to $SPLUNK_DB/INDEX_NAME/db and cold path is set to $SPLUNK_DB/INDEX_NAME/colddb.
In the system, $SPLUNK_DB is set to $SPLUNK_HOME/var/lib/splunk.

You can override the new $SPLUNK_DB path/tmp/splunk in $SPLUNK_HOME/etc/splunk-launch.conf file.

SPLUNK_DB = /tmp/splunk

 

If this reply helps you, a like would be appreciated.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

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

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...