Reporting

How to modify the "View Results in Splunk" link from Scheduled Reports

pattokt
Explorer

We need to change the hostname and port that the "View results in Splunk" link auto populates. Where is the proper place to change this setting in the config files?

1 Solution

somesoni2
Revered Legend

The configuration file that you're looking for is alert_action.conf and attribute name is hostname.
http://docs.splunk.com/Documentation/Splunk/latest/Admin/Alertactionsconf

hostname = [protocol]<host>[:<port>]
* Sets the hostname used in the web link (url) sent in alerts.
* This value accepts two forms.
  * hostname
       examples: splunkserver, splunkserver.example.com
  * protocol://hostname:port
       examples: http://splunkserver:8000, https://splunkserver.example.com:443

View solution in original post

duartet
Path Finder

You can also go to Settings > Server Settings > Email settings
and change "Link hostname" to the url you want.

0 Karma

somesoni2
Revered Legend

The configuration file that you're looking for is alert_action.conf and attribute name is hostname.
http://docs.splunk.com/Documentation/Splunk/latest/Admin/Alertactionsconf

hostname = [protocol]<host>[:<port>]
* Sets the hostname used in the web link (url) sent in alerts.
* This value accepts two forms.
  * hostname
       examples: splunkserver, splunkserver.example.com
  * protocol://hostname:port
       examples: http://splunkserver:8000, https://splunkserver.example.com:443

dvg06
Path Finder

thank you.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...