Deployment Architecture

Why am I unable to execute command "splunk reload deploy-server"? I'm getting error "bash: splunk: command not found".

satya2p
Path Finder
[satya_37@ip-10-0-0-213 bin]$ splunk reload deploy-server
-bash: splunk: command not found
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The message indicates your shell doesn't know where splunk is on your system. Try

$SPLUNK_HOME/bin/splunk reload deploy-server

or

/opt/splunk/bin/splunk reload deploy-server

and consider adding /opt/splunk/bin to your PATH.

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

justinatpnnl
Communicator

Specifying the path like this should work for you. Also, it looks like you are already in the bin directory, in which case you just need to prepend a ./ in front of the command to tell it to look in the current directory for the splunk command. Try:

./splunk reload deploy-server

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...