Alerting

Running a Powershell Script through alerts?

Sebbo
Engager

Morning all,

 

I have a Powershell 2 script that sends an email to people when my alert is triggered. I can't use an the email action as my network doesn't have internet connection. When the alert is triggered, it's not automatically running the script. The script works, as I've ran it independently from Splunk and the email has been sent. Is the format wrong, or am I missing something?

Thanks in advance!

Labels (2)
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...