Could it be? - there is no audit log (tied to a user) when an alert gets modified and saved? I really looked hard and I'm stuck trying to use Rest APIs and compare the rule before/after.
Hi @danielbb,
There are some limited things you can use to track who and when an alert is modified, but tracking what was modified can be a bit tricky. My friend @efavreau and I presented at last years .conf about how to track changes to your knowledge objects and how to export them from Splunk so you can do version controlling outside of splunk. In that presentation we have a query that you can use to track who and when a change is made to an object here:
https://github.com/paychex/Splunk.Conf19/blob/master/CYA_Audit_Splunk_Query
Lines 36-40 in that query won't work without you creating a lookup file of your objects that can be done with this but check out the readme here first.
If you want you can check out the slide deck and presentation itself here: https://conf.splunk.com/watch/conf-online.html?search=FN1315#/
As for the what that was changed you may be able to find some information in the splunkd_conf sourcetype in the _internal index:
index=_internal sourcetype=splunkd_conf data.asset_uri=savedsearches data.optype_desc=WRITE_STANZA
The data.payload arrays will have the information that was changed and the data.asset_uri array will have the specific savedsearch/report/alert that was modified.