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!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...