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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...