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
Use the full path to the command.
sudo /opt/splunk/bin/splunk add forward-server 10.0.0.218 :9997