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!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...