I am in the process of setting up a cluster environment. In the process while firing some commands on search heads I get error that points to "/opt/splunkforwarder/.splunk" directory. Has someone faced similar issue, what could be the reason and solution to fix this?
bash-4.2$ /opt/splunk/bin/splunk show shcluster-status
Splunk username: admin
Can't create directory "/opt/splunkforwarder/.splunk": No such file or directory