Dashboards & Visualizations

HTML: Make panel clickable for hyperlinking

jedatt01
Builder

Can someone tell me how in HTML I can make an entire panel clickable so when clicked it takes you to a specified hyperlink?

Tags (2)

jedatt01
Builder

Figured it out myself.....just had to reach way back to web development days. Will answer to share what I did.

On the div tag that defines the dashboard panel you want to be clickable....add an onclick

<div class="dashboard-panel clearfix" onclick="myhref('http://mysplunkserver:8000/en-US/app/next_level_dashboard');">

Then create a javascript handler for the onclick

<script type="text/javascript">
        function myhref(web){
        window.location.href = web;}
</script>
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...