Getting Data In

Permissions issue with Splunk windows scripted input

morphis72
Path Finder

I have a Windows UF that I have deployed a scripted input to.

It's a python script that I'm calling with a simple bat file.

One of the things I need this script to do is keep track of where in the logs it has already looked.

I'm doing that by creating a folder and dropping some tracking data into them. The script is trying to create the folder in the below path but it fails with permission errors when it tries to create it.

d:\program files\splunkforwarder\etc\apps\<myapp>\bin\scripts

The forwarder is installed as local system. 
Also, if I execute the script manually everything works like it should. I've made sure that local system has full rights on the target folder.

Any ideas on what I need to do to get this working correctly?

Labels (2)
0 Karma
1 Solution

morphis72
Path Finder

I was able to resolve this by dropping my data into a folder located at d:\program files\splunkforwarder\<mydatafolder>

View solution in original post

0 Karma

morphis72
Path Finder

I was able to resolve this by dropping my data into a folder located at d:\program files\splunkforwarder\<mydatafolder>

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...