Dashboards & Visualizations

Cant get box plot to work

matansocher
Contributor

Hi,

I am trying to create a box plot of my data.
the output of my search is:

alt text

I get the error:
Failed to load source for Box Plot visualization.

0 Karma

niketn
Legend

@matansocher @Goesta if you are using Machine Learning Toolkit app, Box Plot visualization comes with the App along with example for how to plot in corresponding Splunk Docs: https://docs.splunk.com/Documentation/MLApp/latest/User/Customvisualizations#Boxplot_Chart

Following is a run anywhere search based on Splunk's _internal index that you can try out:

index=_internal sourcetype=splunkd log_level!=INFO earliest=-7d@d latest=now
| bin _time span=1d
| top 5 component by _time
| stats min(count) exactperc25(count) median(count) exactperc75(count) max(count) by component
| untable component calculations count 
| xyseries calculations component count 
| eval calculations=rtrim(calculations,"(count)")

Following is the snippet of above query:

alt text

PS: If you are using Box Plot Custom Viz from Splunkbase, you should be aware that it was built using older Custom Visualization API for Splunk 6.4 which is no longer supported after version 6.5.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

Goesta
Explorer

I get the same error in IE, but not in Chrome or Firefox. Maybe you'll want to test another browser.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...