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!

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

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...