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!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...