Getting Data In

ExecProcessor - Ignoring my new script

jordans
Path Finder
ERROR ExecProcessor - Ignoring: "\\C:\Program Files\Splunk\etc\apps\test\bin\intodns.py"

This new scripted input I created isn't generating data, but it runs fine from the command line. The only error I can find in Splunk is the above. No other indication of why it is being ignored.

I've tried using a wrapper .bat:

ERROR ExecProcessor - Ignoring: "\\C:\Program Files\Splunk\etc\apps\test\bin\intodns_wrapper.bat"

and moving the script to various locations.

Can someone help with troubleshooting?

Tags (1)
0 Karma
1 Solution

jordans
Path Finder

Thanks, Ayn. It was the slashes. I think I added the script through the UI first, then edited it later and removed the wrong slashes when I changed the script location after I discovered that scripts have to be in certain directories.

View solution in original post

0 Karma

jordans
Path Finder

Thanks, Ayn. It was the slashes. I think I added the script through the UI first, then edited it later and removed the wrong slashes when I changed the script location after I discovered that scripts have to be in certain directories.

0 Karma

Ayn
Legend

Judging by the leading \\ in the error message it seems you are not entering the path to the script correctly. How are you referring to the script in inputs.conf?

0 Karma
Get Updates on the Splunk Community!

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 at Splunk .conf24 ...

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

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...