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!

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...

Part 2: A Guide to Maximizing Splunk IT Service Intelligence

Welcome to the second segment of our guide. In Part 1, we covered the essentials of getting started with ITSI ...

Part 1: A Guide to Maximizing Splunk IT Service Intelligence

As modern IT environments continue to grow in complexity and speed, the ability to efficiently manage and ...