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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

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 ...