Alerting

Programmatically generate an alert

leustean
Explorer

Hello,

As the title states I would like to know if it is possible to generate programmatically an alert and then inject it into Splunk. Then Splunk would act based on this alert by sending an email, or writing to the syslog etc.

Personally I would image this is something that can be obtained using the Splunk Rest API

I would be interested for any direction towards obtaining this goal.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You can programmatically insert an event into Splunk. You can then set up a real-time search for that event and trigger an alert when it is found.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...