Splunk Search

Link to Oldest ServiceNow Incident in Splunk Alert Email

michaelsplunk1
Path Finder

Hi All!

When we choose to send an email as an alert action in Splunk, is there a way for Splunk to take the oldest ServiceNow incident in the alert results and link to it or at least provide it's info (e.g., incident number) in the email it sends out with the alert?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Alerts can be configured to include the results in the email.  Make that query include the oldest incident and you're all set.

---
If this reply helps you, Karma would be appreciated.
0 Karma

michaelsplunk1
Path Finder

Thank you @richgalloway ! This helps so much! I can include the oldest incident in the query, but if it's included as a result, it will affect the alert triggering because I'm triggering based on a number of results. What should I do?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

It appears you are at cross-purposes.  If you can't create an alert that serves both goals then you may need two alerts.

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

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...