Hi. I'm relatively new to Splunk & I am running a Mac, Raspberry is running Raspbian. I've installed the Forwarder for Linux ARM (Raspberry Pi) add-on https://splunkbase.splunk.com/app/1611/ to forward data to my Indexer. I have everything configured using default port 9997 and etc. I'm trying to get my scripted inputs to work, but encounter "No scripts found under the selected path" issue in the Indexer UI.
- I login into my Indexer UI then click Add Data>forward>Select my forwarder>Scripts>$SPLUNK_HOME/bin/scripts and get "No scripts found under the selected path."
- The other option is $SPLUNK_HOME/etc/system/bin but when I cd using the terminal and I get "/opt/splunkforwarder/etc/system/bin: No such file or directory" but the index UI it lists *.py script names
My $SPLUNK_HOME is /opt/splunkforwarder and there is a myscript.sh in /opt/splunkforwarder/bin/scripts/myscript.sh
My inputs.conf file looks like this:
[default]
host = raspberrypi
[script:///opt/splunkforwarder/bin/scripts/myscript.sh]
disabled = 0
interval = 600
Any ideas on how to get scripted inputs to work, I've read the manual and followed the steps but can't seem to figure it out.
↧