Alerting

Saving Alerts in a text file run like a Ticketing System

xisura
Communicator

Hi,

Is it possible to save all the alarms/alerts to a text file and show it to the dashboard as an open ticket, and there will be a button to click if the alarm/alerts is close and it will be remove to the dashboard? (just like a ticketing system)

Thanks in Advanced!

Tags (1)
0 Karma

lguinn2
Legend

Not entirely using Splunk...

For each alert, you could specify a script to run, in addition to other actions that you wish to take.

In the script, write all of the script parameters plus a timestamp to a file, which you then use as an input to Splunk. You could either use the file as a lookup table or index it like a monitor input.

If you use the file as a lookup table, you could also update it with a status for the alert, such as "resolved". Of course, you would have to write a script or program to do this update.

Other References:

Scripted Alerts in documentation
Use Splunk Alerts to create a ticket in your ticketing system

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...