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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...