Splunk Enterprise

sudo: ./splunk: command not found

SANMEHTP
Observer

sudo ./splunk add forward-server 10.0.0.218 :9997 after running this command
[sudo] password for smsplunkforwarder:
iam getting this error sudo: ./splunk: command not found

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Use the full path to the command.

sudo /opt/splunk/bin/splunk add forward-server 10.0.0.218 :9997
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...