Reporting

How to change the view results link in the alert manager?

cealtea
Engager

Hi,

I'm working with Splunk 4.2.2 and we have set up alerts (scheduled saved searches).
When an alert is fired, a view results link is available for each alert in the event manager.

the url for this link goes in the app named search. I would like to change this link and use my own application to display the results.

How can I do that ?

Thanks

Ledion_Bitincka
Splunk Employee
Splunk Employee

One easy way to change the link would be to move the search that's generating the alert into you app. In the large majority of the cases looking at the search results generated from a different app might not work correctly.

0 Karma

MarioM
Motivator

Ledion,
While i visited them we checked and even the alert is created into custom app the view results in alert manager for this alert still default to search app.

0 Karma

cealtea
Engager

I dig into this problem. It seems related to the ViewRedirectorLink Module. Inside the alert popup, the javascript function Splunk.util.getCurrentApp() returns "UNKNOWN_APP" instead of our app.

That's why the default search appears in the view results link.

Do you have any idea how to change the link using the appname set in the alert table ?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...