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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...