Alerting

Splunk Alerting: Identify all the alerts which are using same webhook

arkapdas
Engager
hi all, I have a specific webhook url which has been used in multiple splunk alerts. Now I want to change that webhook. I was trying to figure out, is there any way I can figure out what are the alerts which are using this particular webhook
Labels (1)
0 Karma
1 Solution

venkatasri
SplunkTrust
SplunkTrust

Hi @arkapdas 

The following command shall return the alerts and their actions you have to find what's the field name for webhook and further filter it to your need.

| rest  /services/saved/searches | where isnotnull(title) | table action* id title search

 

View solution in original post

arkapdas
Engager

You saved my life, now I am pushing it a little more [:P]

Is there any way  I can update the values  in one shot?

0 Karma

venkatasri
SplunkTrust
SplunkTrust

@arkapdas goto savedsearches.conf on SH and update them from backend.

0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @arkapdas 

The following command shall return the alerts and their actions you have to find what's the field name for webhook and further filter it to your need.

| rest  /services/saved/searches | where isnotnull(title) | table action* id title search

 

Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...