..as in, I have a .cmd or a .bat file that I would like to use as a scripted input.
I am not able to find any solid examples of how the script:// stanza within my inputs.conf file looks like that actually works.
Anyone do this already that is willing to share their stanza?
Also note that if you are calling a python script you'll similarly want to make sure that path within it are set in a way that Windows can handle along the lines of
theFile = open(os.path.join(os.environ["SPLUNKHOME"], 'etc', 'apps', 'bmon-eventgen', 'bin', 'sample', 'noiseapache.sample'),'r')
The Splunk IP Watchlist app has a simple bat file to retrieve IP addresses and uses scripted input to call this bat file to gather the data. It's a simple approach as I'm not much of a DOS style script writer.