Knowledge Management

I have a URL as a value of a field in search results. When I click on the URL, how to enable it to open in a new window?

rleena
New Member

Hi,

I am doing a simple search, and among the fields extracted, I have a URL as value in one of the fields. My requirement is that when I click on this url it should open the link in a new window. Right now, when I click it, it simply adds the value to the search in Splunk.

Based on my reading, there seems to be only one way to do this when in Searching and Reporting App. Create a workflow with an event or a field action for opening a link in a new browser window. Please confirm.

Isn't there any way, I could the open the link directly when I click on the url from the extracted fields side bar in Searching and Reporting App.

I have read about the drilldown feature and its possibilities in a dashboard via the xml, but mine is a simple search, and this url field is not part of any dashboard.

Kindly suggest.

Thanks,
lee

0 Karma

kmorris_splunk
Splunk Employee
Splunk Employee

You will want to use a workflow action to do this:

Creating workflow actions (Splunk Docs)

You can create a workflow action under Settings > Fields > Workflow Actions

They can be applied to the Action menu next to fields, or for the event.

0 Karma

rleena
New Member

Thank you for your response, directly clicking of the url value is not possible. Is that correct?

Thanks,
Lee

0 Karma

rahul29564
New Member

The best way to reduce repetitive work is by using workflow.
For such condition you need to use get workflow.
Setting > Fields > Workflow Action.
Here you need to specify
Destination App:
Label for URL:
Apply Fields name :
Show Action in :
Action Type : (Give Link here)
Open in : New Window
Link Method : Get

Hope it helps...!!!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...