Knowledge Management

Is it possible to launch a browser window from a table using a URL stored in a field?

jambajuice
Communicator

I have a search that will generate one or more fields that contain a URL. Is it possible to click on the URL and have it open a browser rather than populating the search window with the URL?

Thx.

Tags (2)
0 Karma

chris
Motivator

Hi

One dodgy quirk to get this behaviour can be realised if you define a "workflow" and pass it the URL.

You have to cut off the protocol and insert that statically into the workflow otherwise splunk will prepend it's own url to yours which is not what you want.

In the example "host" is the field that contains the url

Definition of a workflow

The context menu of an event will have an entry defined by the workflow. You can configure the workflow to only show in events that have the URL field defined. Context menu entry created by the workflow

Cheers Chris

Leo
Splunk Employee
Splunk Employee

To avoid Splunk prepending it's url before yours, type $!url$. This defeats escaping and will open your url just fine.

0 Karma

dominiquevocat
SplunkTrust
SplunkTrust

Hey Leo, i have a field permalink and in the workflow action i use method get and use the value $!permalink$ but it still tries to use it as a relative url... 😞

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...