Dashboards & Visualizations

How to setup Table Drilldown Link in Dashboard Studio from a hidden table column?

edgarrity
Path Finder

I want to create a table in Dashboard Studio that will open up another dashboard when the user clicks on a row in the table.  However, I cannot figure out how to provide the name of the dashboard to link to in a hidden field (see code below).  How do I create a table drilldown to a dashboard based on the name in a hidden column?

 

{

    "visualizations": {

        "viz_15E2DDQP": {

            "type": "splunk.table",

            "dataSources": {

                "primary": "ds_HsTRSmYx"

            },

            "title": "Fleet Status"

        }

    },

    "dataSources": {

        "ds_HsTRSmYx": {

            "type": "ds.search",

            "options": {

                "query": "| makeresults\r\n| eval ITEM = \"Operator Logins\"\r\n| eval STATUS = \"Good\"\r\n| eval _hot_link = \"operator_logins_dashboard\"\r\n| append [\r\n| makeresults\r\n| eval ITEM = \"Revenue Service\"\r\n| eval STATUS = \"Fair\"\r\n| eval _hot_link = \"revenue_service_dashboard\"\r\n]\r\n| append [\r\n| makeresults\r\n| eval ITEM = \"Announcements\"\r\n| eval STATUS = \"Poor\"\r\n| eval _hot_link = \"announcements_dashboard\"\r\n]\r\n| append [\r\n| makeresults\r\n| eval ITEM = \"Navigation\"\r\n| eval STATUS = \"Warning\"\r\n| eval _hot_link = \"navigation_dashboard\"\r\n]\r\n| append [\r\n| makeresults\r\n| eval ITEM = \"Available Resources\"\r\n| eval STATUS = \"Error\"\r\n| eval _hot_link = \"resources_dashboard\"\r\n]\r\n| table ITEM STATUS _hot_link"

            },

            "name": "Fleet Status"

        }

    },

    "defaults": {

        "dataSources": {

            "ds.search": {

                "options": {

                    "queryParameters": {

                        "latest": "$global_time.latest$",

                        "earliest": "$global_time.earliest$"

                    }

                }

            }

        }

    },

    "inputs": {

        "input_global_trp": {

            "type": "input.timerange",

            "options": {

                "token": "global_time",

                "defaultValue": "-24h@h,now"

            },

            "title": "Global Time Range"

        }

    },

    "layout": {

        "type": "absolute",

        "options": {

            "display": "auto-scale"

        },

        "structure": [

            {

                "item": "viz_15E2DDQP",

                "type": "block",

                "position": {

                    "x": 0,

                    "y": 0,

                    "w": 690,

                    "h": 260

                }

            }

        ],

        "globalInputs": [

            "input_global_trp"

        ]

    },

    "description": "",

    "title": "Dashboard Studio Hotlink POC"

}

 

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...