Getting Data In

monitoring windows batch output

dbashyam
Explorer

Hi,

I have a small .bat file running in windows, I have splunk monitors setup in linux. I want to monitor the output of this .bat file, this output is thrown in the monitor. Is it possible to monitor this output via splunk? Then how?

Thanks,
Dinesh

Tags (1)
0 Karma

Ayn
Legend

Install a Universal Forwarder on your Windows machine and create a scripted input. This will do exactly what you want, i.e. run the batch script, consume its output and forward it to the indexer.

http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ScriptedInputsIntro

0 Karma
Get Updates on the Splunk Community!

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...