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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.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 ...