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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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 ...