Getting Data In

Why am I getting error "Couldn't determine $SPLUNK_HOME" trying to install universal forwarder credentials on Sandbox?

appzen
Path Finder

I am trying to install the forwarder credentials on my sandbox and when I follow step 4 and put in my credentials ie:

/opt/splunkforwarder/bin/splunk install app /opt/splunkclouduf.spl -auth admin:changeme

I get the error:

Couldn't determine $SPLUNK_HOME

Perhaps it should be set in environment. I attempted to fix this error by:

export PATH=$PATH:/opt/splunkforwarder/bin

but I still received the same error. How do I continue with installation? Thanks!

0 Karma

appzen
Path Finder
export SPLUNK_HOME="/opt/splunk"

or where ever you installed Splunk at

ppablo
Retired

Hi @appzen

Is this the formal answer that solved your issue?

0 Karma

Muwafi
Path Finder

it didn't for me 😄

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...