Deployment Architecture

Invoke Script in Splunk

Path Finder

Is it possible to invoke powershell script in Splunk?

Labels (2)
0 Karma


Hi @sanjubaba,

I think that you're speaking of using a Powershell script for data input.

Anyway, you can use a scripted input (for more infos see at ).

In addition, you could see the Splunk_TA_Windows that uses many PS scripts (

In few words, you can use the PS script in two ways:

  • writing a file:
    • create a script that writes results in a file,
    • put it in the bin folder of your app,
    • schedule it in Windows scheduler,
    • read the file with a monitor input;
  • Directly sending output to Splunk:
    • create a script that send output to video,
    • put it in the bin folder of your app,
    • schedule it in inputs.conf,
    • Universal Forwarder, executes it following the setted configuration and output is directly sent to Splunk.

Second choice is better because you can manage it all in Splunk.



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

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...