Dashboards & Visualizations

Outliers Viz not loading

guimilare
Communicator

Hello Splunkers.

I've downloaded the Splunk Machine Learning Toolkit.
In Detect Numeric Outliers Showcase, I can successfully create a search, detect the outliers and see the "Data and outliers" graph.
However, when I try to do this in another dashboard (or even inside the Search dashboard in the Machine Learning App), I get the following error:

Failed to load source for Outliers Chart visualization.

Any ideas why I can't load the viz?

Regards, GMA

0 Karma
1 Solution

niketn
Legend

Click on left top Apps > Manage Apps and then select the Sharing Permissions for Splunk Machine Learning Toolkit and change from This App Only (system) to All Apps

Refer to one of my previous answers: https://answers.splunk.com/answers/619921/not-able-to-access-dashboard.html

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

View solution in original post

niketn
Legend

Click on left top Apps > Manage Apps and then select the Sharing Permissions for Splunk Machine Learning Toolkit and change from This App Only (system) to All Apps

Refer to one of my previous answers: https://answers.splunk.com/answers/619921/not-able-to-access-dashboard.html

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

guimilare
Communicator

Hi niketnilay,

Yes, I've done it already, but no luck.
Actually, the viz only works inside the Showcase dashboard.

If click "Open in Search", the viz fails to load.

0 Karma

niketn
Legend

@guimilare, for the Outliers Chart visualization to work you would also need the final table to have the following table format

_time, <outlier_variable>, <lower_bound>, <upper_bound>

When you are running your search outside of Machine Learning Toolkit App, have you checked to ensure that you are getting field values for all above fields? (I mean besides Making Machine Learning App available as Global, is the index containing data for prediction also searchable in the app for the logged in user?

When you get the error in Outlier chart, can you hit F12 and under Console Errors see what are the error details:

If you see an error like the following, it implies expected fields for the visualization are not present.

VisualizationError
message
:
"One or more fields is missing. Expected fields are _time, <outlier_variable>, <lower_bound>, <upper_bound>."

If one of this does not help, please add the detail of Your Splunk Version, MLTK version, Python for Scientific Computing version details. Also the current search and Tablular Output of the search if possible.

I tried on Splunk 7.1 with MLTK 3.2.0 and Python for Scientific Computing for Windows 64 bit and it worked fine!

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

guimilare
Communicator

Hi, niketnilay,

after upgrading splunk to version 7.1, I was able to use Outliers Chart.

Thanks.

0 Karma

niketn
Legend

Glad you got it to work... do accept the answer and upvote the comments that helped 🙂

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...

New This Month in Splunk Observability Cloud - Synthetic Monitoring updates, UI ...

This month, we’re delivering several platform, infrastructure, application and digital experience monitoring ...