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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...