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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...