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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...