Dashboards & Visualizations

Using views from Web Framework Toolkit in dashboard

MemoreX42
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

apruneda_splunk
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

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

MemoreX42
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

gyslainlatsa
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

MemoreX42
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

gyslainlatsa
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

rroberts
Splunk Employee
Splunk Employee

MemoreX42
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
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...