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!

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...