Archive

Using views from Web Framework Toolkit in dashboard

Explorer

Hi experts,

I recently came across the Web Framework Toolkit (version 1.1). (http://dev.splunk.com/webframework)
So far, I have been using Splunk plain without apps, but I find the "Sunburst" Chart from the Web Framework Toolkit very helpful in one of my dashboards.

Somehow I do not see at all from the documentation, how to integrate any of the charts / views in my dashboard.

Is there a simple way of getting one of my searches to use the Sunburst chart?

Thanks a lot,
Christian

Tags (1)
0 Karma
1 Solution

Splunk Employee
Splunk Employee

To use the Sunburst chart in a dashboard, you can convert the dashboard to HTML, and then modify the HTML code that corresponds to the chart you want to replace. This process is a little easier than creating a new app because you can instead modify the one dashboard. However, once you convert the dashboard to HTML, you won't be able to go back to modifying it using the Dashboard Editor UI. Instead, you could create a copy of the dashboard and experiment on the copy.

This section describes converting dashboards to HTML: http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAEM2
This tutorial shows how to do it: http://dev.splunk.com/view/SP-CAAAETP. Step 6 shows how to replace a standard chart with one from the Splunk Web Framework Toolkit.

View solution in original post

Splunk Employee
Splunk Employee

To use the Sunburst chart in a dashboard, you can convert the dashboard to HTML, and then modify the HTML code that corresponds to the chart you want to replace. This process is a little easier than creating a new app because you can instead modify the one dashboard. However, once you convert the dashboard to HTML, you won't be able to go back to modifying it using the Dashboard Editor UI. Instead, you could create a copy of the dashboard and experiment on the copy.

This section describes converting dashboards to HTML: http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAEM2
This tutorial shows how to do it: http://dev.splunk.com/view/SP-CAAAETP. Step 6 shows how to replace a standard chart with one from the Splunk Web Framework Toolkit.

View solution in original post

Explorer

Thank you very much, this has actually worked. Although it is quite a hassle to always adjust the javascript in order to create such charts.

0 Karma

Motivator

hi
following this link: http://dev.splunk.com/webframework

example of the default.xml for the views

<nav>   

    <a href="/dj/name_of_your_app/sunburst">Sunburst</a>
    <a href="/dj/name_of_your_app/calendar_view_of_count_by_Host">Calendar view of count by Host</a> 

</nav>

don't put redirector
please forgive my english.

0 Karma

Explorer

I'm sorry but this is not helping me at all. Where would I need to add this code? Even the example app linked in the website you provided does not work at all, most of the charts do not open and just state error-sites. Is there no guide to simply add some of these views into a standard dashboard?

0 Karma

Motivator

inspires you the toolkit framework web application, you must install it in your splunk instance if any of your views will operate.
The sunburst is an html file and you must locate in the framework web application toolkit then copy it and put it in the same directory in your application.
First your application you'll be creating a web application framework, and you must also follow the first link I posted for the creation of the application etc ..

0 Karma

Splunk Employee
Splunk Employee

Explorer

Yes, I have read this doc, but I don't have my own app. I am using Splunk plain out of the box. So far, I created dozens of dashboards and reports. All I want to do is add this sunburst chart to one of my dashboards.

0 Karma