Deployment Architecture

Can the /opt/splunk/var directory be symlinked to /var?

nbeyer_cerner
New Member

I'm attempting to replace the /opt/splunk/var folder with the /var folder via symlink to keep relatively small amount of diskspace for /opt and use a larger amount of space on /var. I've move all of the relevant sub-folders from /opt/splunk/var and then replace the directory with a symlink to /var. When I restart the service, everything is working as I would expect, but I continue to get disk space warnings in the web console.

Is what I'm attempting possible? If so, any suggestions on getting it to work?

Tags (3)
0 Karma

mkelderm
Path Finder

Yes it can, for single (serach-head) instances. this will not work multiple search-head instances.

Marc

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