Hi team!
I installed my splunk in default path /opt/splunk...
But I only have 20 GB in / and 500GB free space in /home
What shuold I do? I can not give more space to /
Shuold I move my indexers to /home?
Help please...
Thank you!
If you have a volume with space available you could mount that 'over the top' or 'within' your Splunk filesystem.
In deployments I have worked on, it's common to do both!
For indexers in particular, there is performance optimization by using different classes of storage volume for different bucket types.
You might therefore have a separate volume mounted as /opt/splunk, and different volumes also mounted in /opt/splunk/var/li b/splunk/[hot|cold|frozen]/
If you have a volume to use for this, the safest way is to stop Splunk, rsync the contents of your old /opt/splunk to your new volume, then mount the new volume over the top of /opt/splunk and start Splunk to test.
you can create/update SPLUNK_DB=/home/splunk_data in /opt/splunk/etc/splunk-launch.conf and restart splunk. Also, in all your indexes.conf, ensure this SPLUNK_DB is used.
This will create all new indexes in that path.