Splunk Search

Table: How to set a URL (which is part of the row data) behind a column value (like a name)?

wes7bb
New Member

Hi there,

I have a table in which each row is individual. The link is different for each entry. I will explain my problem with the help of an easy table.

alt text

I would like to set behind the name the URL. So that in the dashboard nobody can see the link which is behind the name. But when you click on the name it should be possible to go to the expected page.

How is that possible in Splunk?

Thanks a lot for your help!

Tags (4)
0 Karma

niketn
Legend

Yes this can be done in Splunk using <fields> simple XML chart configuration. You can get Splunk Dashboard Examples App which has this example: https://splunkbase.splunk.com/app/1603/

Using you can display only the fields required for End Users to see. However, remaining columns/fields from the search result will be hidden and accessible for drilldown. For you example:

    <fields>Name</fields>
    <drilldown>
       <set token="tokURL">$row.URL$</set>
    </drilldown>
</table>
<html>
   Clicked URL: $tokURL$
</html>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...