Deployment Architecture

Help Please! Couldn't determine $SPLUNK_HOME or $SPLUNK_ETC;

jcal
Engager

I've been getting this error:

./splunk add monitor /var/log/*log
ERROR: Couldn't determine $SPLUNK_HOME or $SPLUNK_ETC; perhaps one should be set in environment

I have the ff structure for reference:

/opt/splunk/bin(no splunk executable file)
/opt/splunkforwarder/splunk.exe

Tags (1)

richgalloway
SplunkTrust
SplunkTrust

Add SPLUNK_HOME = /opt/splunkforwarder to your bashrc file.

---
If this reply helps you, Karma would be appreciated.
0 Karma

hos_2
Path Finder

Hey jcal,

Take a look at this article and see if that helps:

http://dev.splunk.com/view/quickstart/SP-CAAAFDH

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...