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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...