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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...