Monitoring Splunk

Moving the _audit index

peter_gianusso
Communicator

I need to move just the _audit index from the c drive to a d drive on a windows server.

How do I do that? I found an article on pre-6.0 but can't find anything for Splunk 6.0

Tags (2)
0 Karma
1 Solution

jtrucks
Splunk Employee
Splunk Employee

create $SPLUNK_HOME/etc/system/local/indexes.conf and add these lines:

[_audit]
homePath   = $SPLUNK_DB/audit/db
coldPath   = $SPLUNK_DB/audit/colddb
thawedPath = $SPLUNK_DB/audit/thaweddb
tstatsHomePath = volume:_splunk_summaries/audit/datamodel_summary

Change the paths as you wish. Stop splunk, copy/move the files to the new location, start splunk.

--
Jesse Trucks
Minister of Magic

View solution in original post

jtrucks
Splunk Employee
Splunk Employee

create $SPLUNK_HOME/etc/system/local/indexes.conf and add these lines:

[_audit]
homePath   = $SPLUNK_DB/audit/db
coldPath   = $SPLUNK_DB/audit/colddb
thawedPath = $SPLUNK_DB/audit/thaweddb
tstatsHomePath = volume:_splunk_summaries/audit/datamodel_summary

Change the paths as you wish. Stop splunk, copy/move the files to the new location, start splunk.

--
Jesse Trucks
Minister of Magic
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...