Alerting

How to change alerts's ownership in bulk from CLI?

mufthmu
Path Finder

Hi Splunk users,

I know that we can change ownership of alerts in this file:

/etc/apps/App_Name/metadata/local.meta


But I need a strategy where I can change the ownership of alerts in bulk (we have too many alerts)
this is an example of one of the alert stanza in my local.meta file.

[savedsearches/myAlert1]
export = none
owner = admin
version = 7.3.0
modtime = 1577505159.261205000

I tried to replace the stanza head with [savedsearches/*] hoping that the wild card will represent all of the alerts in this app, but it did not work. Looking for suggestion.

Regards.

Labels (1)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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