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

 

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...