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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[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 ...