slack-alerts icon indicating copy to clipboard operation
slack-alerts copied to clipboard

param.view_link for splunk app is sending default hostname rather than splunk url please help

Open dwhitehead95 opened this issue 1 year ago • 1 comments

Discussed in https://github.com/splunk/slack-alerts/discussions/47

Originally posted by dwhitehead95 September 27, 2023 We upgraded Splunk to version 9.1(latest) and now our splunk slack alerts are showing our internal default hostname rather than our main splunk url in attached links to alerts. Our internal hostname is unprotected so we need to fix this. I tried specifying the proper url as a param.attachment_results_link in our alert_actions.conf file within the slack_alerts app folder but now the alerts are showing the link I specified rather than a link to the search relevant to the alert setup. How is the view_link variable generated and how can I change it to a desired url while still having the following information that will take the user to the search setup by their alert?

dwhitehead95 avatar Sep 28 '23 12:09 dwhitehead95