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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...