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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...