Getting Data In

Is $SPLUNK_HOME/etc/apps/myappname/local/bin/myscript a valid path for custom scripts?

tsheets13
Communicator

I have a python script that I have set in my apps inputs.conf being called with the specific path name.

Example:
[script://$SPLUNK_HOME/etc/apps/myappname/local/bin/myscript]

The script doesn't seem to be working. But when I originally had it in .../myappname/bin it worked fine.

Is the location invalid even though the path is fully specified in the inputs.conf?

If it is valid, what can I look for to see why it's not running?

Labels (2)

nickhills
Ultra Champion

Scripts should be in myappname/bin

Running them from inside ./local would not be supported.
Why do you want to run it from local?

If my comment helps, please give it a thumbs up!

esalmon
Explorer

I have a similar problem, except I've altered an existing Splunk App. I would rather not outright alter the runpowershell.cmd. Is there a way I can do it in a bin/local manner?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...