Hi All,
I have created a bar chart on my dashboard with the count of Exceptions. Now I want to create a drilldown to a separate dashboard whenever I click on any of the bars (Separate dashboards for each bars). Can we achieve such drilldown from bar/column charts?
I tried "Link it a dashboard", "Link to a custom URL" etc. but I takes me to only one dashboard whenever I click on any of the bars in the chart.
Also thought of using "Manage tokens on this dashboard" option but that doesn't take me to a new dashboard as it only enables for in-page drilldown actions only.
Please help suggest a way to get my desired output.
Thank you..!!
Hi @Mrig342,
I think that you need to review how to creat a drilldown from a dashboard to another one.
I think that it will be very useful to see the Splunk Dashboard Examples App (https://splunkbase.splunk.com/app/1603/) where you'll find some samples about how to create a drilldown.
Anyway, you have to use the option "link it a dashboard" choosing the tokens that you want to pass to the secondary dashbord and then to create the secondary dashboard with the tokens you defined in the main dashboard.
Ciao.
Giuseppe
Thanks to both of you..!! I successfully created the drilldown using tokens.
Hi @Mrig342,
I think that you need to review how to creat a drilldown from a dashboard to another one.
I think that it will be very useful to see the Splunk Dashboard Examples App (https://splunkbase.splunk.com/app/1603/) where you'll find some samples about how to create a drilldown.
Anyway, you have to use the option "link it a dashboard" choosing the tokens that you want to pass to the secondary dashbord and then to create the secondary dashboard with the tokens you defined in the main dashboard.
Ciao.
Giuseppe
What do you have in your drilldown? Are the "dashboards" different URLs or just different panels in the same dashboard? How are you determining which dashboard you want to go to?
Hi ITWhisperer,
Are the "dashboards" different URLs or just different panels in the same dashboard? --- I have diferent URLs for each dashboard, not different panels in the same dashboards.
What do you have in your drilldown? --- The main dashboard has a bar chart representation of Exceptions by their count. In the drilldown dashboards(separate for each Exceptions in the main dashboard) I have the time of Exception occurrence, server name and source in a tabular manner.
How are you determining which dashboard you want to go to? --- I want to go to each dashboard based on the Exception i.e. clicking on the bars in the main dashboard.
Hope, this helps..!!
Can you share the URL you construct in your drilldown?
Sorry ITWhisperer..!!
Can't do that.. It will be a violation of company policy. I will be glad if you can guide me on how to get my desired output.
You can have this though:
Query I used in main dashboard: (my search) | stats count by Exception
Query I used in other dashboards: (my search) | search Exception=ABC | eval Time=strftime(_time, "%y-%m-%d %H:%M:%S") | table Time,host,source
Construct a token based on the $click.*$ tokens to build the URL you want in your drilldown link or insert the $click.*$ tokens directly in your URL.