Dashboards & Visualizations

When a user clicks on a location on map, how do I make it redirect to a dashboard?

simona2121
Path Finder

I have a map, on which i have tagged IP's according to location. now, on click of a particular location on the map, i need it to redirect to another dashboard. pls help. thanks

0 Karma
1 Solution

niketn
Legend

You can code the drilldown event of the map chart visualization in Simple XML. You can set the link to your second dashboard using link attribute.

Following is a snippet from Dynamic Drilldown Examples provided in Splunk 6.x Dashboard Examples App. Please refer to the app for details.

    <drilldown>
      <link>/app/<Your App Name>/<Your Drill Down Dashboard Name>?form.<Your_DrillDown_Dashboard_Token_Name_To_Be_Set_From_Map_Clicked_Value>=$click.value$</link>
    </drilldown>

Refer to the following link to get the tokens available from the Map chart (you can use multiple to be passed on the the new dashboard as query string/s provided your drill down dashboard accepts the tokens and ideally should work with some default values like * for all etc): http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#map_.28event_t...

PS: I have used click.value to pass on selected value from the map to the new dashboard.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

niketn
Legend

You can code the drilldown event of the map chart visualization in Simple XML. You can set the link to your second dashboard using link attribute.

Following is a snippet from Dynamic Drilldown Examples provided in Splunk 6.x Dashboard Examples App. Please refer to the app for details.

    <drilldown>
      <link>/app/<Your App Name>/<Your Drill Down Dashboard Name>?form.<Your_DrillDown_Dashboard_Token_Name_To_Be_Set_From_Map_Clicked_Value>=$click.value$</link>
    </drilldown>

Refer to the following link to get the tokens available from the Map chart (you can use multiple to be passed on the the new dashboard as query string/s provided your drill down dashboard accepts the tokens and ideally should work with some default values like * for all etc): http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#map_.28event_t...

PS: I have used click.value to pass on selected value from the map to the new dashboard.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

sundareshr
Legend

Please share your dashboard.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...