Reporting

How can I control the host and root of HTML Links in Saved Search result emails?

oreoshake
Communicator

We had some issues with the way the splunk web server handled our internally signed SSL certs so we setup nginx to handle the ssl and just proxy requests to the local splunk server. The problem is that the links still show port 8000 which means we click the link, remove the port, and then we get to the desired page (nginx does a URL rewrite to add the s to http).

Is there a way to drop the port number from the links that are generated without changing the port the web server runs on? Is there another way to accomplish this goal?

Tags (2)
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

In the Splunk Manager->Email Alert Settings, http://localhost:8000/en-US/manager/launcher/configs/conf-alert_actions/email/?action=edit set the "Link hostname" value to the desired target URL.

View solution in original post

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

In the Splunk Manager->Email Alert Settings, http://localhost:8000/en-US/manager/launcher/configs/conf-alert_actions/email/?action=edit set the "Link hostname" value to the desired target URL.

0 Karma

oreoshake
Communicator

Yep, that worked.

A useless side note: I thought it would have created the link host:80:8000 which apparently would have worked anyways (in FF, but not safari)

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

or i guess 80 if you're doing a redirect anyway?

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

what if you add an explicit port number, i.e., 443?

0 Karma

oreoshake
Communicator

I was able to change the hostname, but the port number is still in the link.

0 Karma
Get Updates on the Splunk Community!

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...

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

💌Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...