All Apps and Add-ons

Impacts of installing splunk in root vs opt

ialahdal
Path Finder

I am new to splunk and came to an environment that's been previously installed and managed by someone else, I noticed through the monitoring console that all entities e.g(cluster maser, IFs, indexers, search heads, etc) are showing /as a mount point in the "Monitoring console > resource usage > Machine" except the 4th indexer which was installed by someone else, it shows /opt as a mount point.

My question is what are the impacts of having the mount point being root vs something else like "opt"??
Also would be best practice to move everything out of root to match the 4th indexer or the other way around??

Thanks.

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

I recommend Splunk not share the same file system as the root directory. This is especially important if $SPLUNK_DB is also in the root directory. The goal is to prevent a full Splunk directory from preventing the OS from functioning normally. I've also seen the reverse happen, that is large OS files consumed enough disk space to put Splunk below its minimum free space and so it stopped running searches.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I recommend Splunk not share the same file system as the root directory. This is especially important if $SPLUNK_DB is also in the root directory. The goal is to prevent a full Splunk directory from preventing the OS from functioning normally. I've also seen the reverse happen, that is large OS files consumed enough disk space to put Splunk below its minimum free space and so it stopped running searches.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...