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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...