Dashboards & Visualizations
Highlighted

Dynamic Single Value Panels Java Script

Path Finder

Need help on building dynamic single value panel using Java Script / Python, any ideas or sample script will help more.

0 Karma
Highlighted

Re: Dynamic Single Value Panels Java Script

Legend

@davesplunk01, If you want to create Single Value through SplunkJS stack you can refer to SingleView documentation on WebFramework: http://docs.splunk.com/Documentation/WebFramework

Following is an example of JS script.

require([
    "splunkjs/mvc/singleview",
    "splunkjs/mvc/simplexml/ready!"
], function(SingleView) {

    // Instantiate components
    new SingleView({
        id: "example-single",
        managerid: "example-search",
        beforeLabel: "Event count:",
        el: $("#mysingleview")
    }).render();
});

View solution in original post

0 Karma
Highlighted

Re: Dynamic Single Value Panels Java Script

Legend

@davesplunk01, I have converted my comment to answer. Please accept if this is what you were looking for.

0 Karma
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.