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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...