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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...