I created an App and in my inputs.conf have it calling a Windows batch file to execute an .exe, but the exe seems that it is not executed. I have tried multiple things based on some of posts I found, and haven't gotten it to work yet.
Here is what I currently have setup:
C:\Program Files\Splunk\etc\apps\LogViewer\bin is where my exe is that I want to run along with my batch file to run my exe.
call "C:\Program Files\Splunk\etc\apps\LogViewer\bin\LogginDB.exe"
C:\Program Files\Splunk\etc\apps\LogViewer\default\inputs.conf contains
[script:"C:\Program Files\Splunk\etc\apps\LogViewer\bin\LaunchLogging.bat"]
disabled = 0 # change to true to start the input, requires restart
host = SHE-STGSQLEXT1 # enter hostname here
index = main
interval = 30 #frequency to run the script
My exe is written to output a text file so i know for sure that it is not running and if I run the batch file manually the output is created.
Any one know what I am doing wrong?
... View more