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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...