<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Outliers Viz not loading in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408148#M41553</link>
    <description>&lt;P&gt;@guimilare, for the &lt;CODE&gt;Outliers Chart&lt;/CODE&gt; visualization to work you would also need the final table to have the following table format&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time, &amp;lt;outlier_variable&amp;gt;, &amp;lt;lower_bound&amp;gt;, &amp;lt;upper_bound&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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?&lt;/P&gt;

&lt;P&gt;When you get the error in Outlier chart, can you hit F12 and under Console Errors see what are the error details:&lt;/P&gt;

&lt;P&gt;If you see an error like the following, it implies expected fields for the visualization are not present.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;VisualizationError
message
:
"One or more fields is missing. Expected fields are _time, &amp;lt;outlier_variable&amp;gt;, &amp;lt;lower_bound&amp;gt;, &amp;lt;upper_bound&amp;gt;."
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;I tried on Splunk 7.1 with MLTK 3.2.0 and Python for Scientific Computing for Windows 64 bit and it worked fine!&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jun 2018 15:55:26 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-06-06T15:55:26Z</dc:date>
    <item>
      <title>Outliers Viz not loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408145#M41550</link>
      <description>&lt;P&gt;Hello Splunkers.&lt;/P&gt;

&lt;P&gt;I've downloaded the Splunk Machine Learning Toolkit.&lt;BR /&gt;
In Detect Numeric Outliers Showcase, I can successfully create a search, detect the outliers and see the "Data and outliers" graph.&lt;BR /&gt;
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:&lt;/P&gt;

&lt;P&gt;Failed to load source for Outliers Chart visualization.&lt;/P&gt;

&lt;P&gt;Any ideas why I can't load the viz?&lt;/P&gt;

&lt;P&gt;Regards, GMA&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 13:29:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408145#M41550</guid>
      <dc:creator>guimilare</dc:creator>
      <dc:date>2018-05-23T13:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers Viz not loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408146#M41551</link>
      <description>&lt;P&gt;Click on left top &lt;CODE&gt;Apps &amp;gt; Manage Apps&lt;/CODE&gt; and then select the Sharing &lt;CODE&gt;Permissions&lt;/CODE&gt; for &lt;CODE&gt;Splunk Machine Learning Toolkit&lt;/CODE&gt; and change from &lt;CODE&gt;This App Only (system)&lt;/CODE&gt; to &lt;CODE&gt;All Apps&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Refer to one of my previous answers: &lt;A href="https://answers.splunk.com/answers/619921/not-able-to-access-dashboard.html"&gt;https://answers.splunk.com/answers/619921/not-able-to-access-dashboard.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 13:45:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408146#M41551</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-06-06T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers Viz not loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408147#M41552</link>
      <description>&lt;P&gt;Hi niketnilay,&lt;/P&gt;

&lt;P&gt;Yes, I've done it already, but no luck.&lt;BR /&gt;
Actually, the viz only works inside the Showcase dashboard.&lt;/P&gt;

&lt;P&gt;If click "Open in Search", the viz fails to load.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 15:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408147#M41552</guid>
      <dc:creator>guimilare</dc:creator>
      <dc:date>2018-06-06T15:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers Viz not loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408148#M41553</link>
      <description>&lt;P&gt;@guimilare, for the &lt;CODE&gt;Outliers Chart&lt;/CODE&gt; visualization to work you would also need the final table to have the following table format&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time, &amp;lt;outlier_variable&amp;gt;, &amp;lt;lower_bound&amp;gt;, &amp;lt;upper_bound&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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?&lt;/P&gt;

&lt;P&gt;When you get the error in Outlier chart, can you hit F12 and under Console Errors see what are the error details:&lt;/P&gt;

&lt;P&gt;If you see an error like the following, it implies expected fields for the visualization are not present.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;VisualizationError
message
:
"One or more fields is missing. Expected fields are _time, &amp;lt;outlier_variable&amp;gt;, &amp;lt;lower_bound&amp;gt;, &amp;lt;upper_bound&amp;gt;."
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;I tried on Splunk 7.1 with MLTK 3.2.0 and Python for Scientific Computing for Windows 64 bit and it worked fine!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 15:55:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408148#M41553</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-06-06T15:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers Viz not loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408149#M41554</link>
      <description>&lt;P&gt;Hi, niketnilay,&lt;/P&gt;

&lt;P&gt;after upgrading splunk to version 7.1, I was able to use &lt;CODE&gt;Outliers Chart&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 18:29:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408149#M41554</guid>
      <dc:creator>guimilare</dc:creator>
      <dc:date>2018-08-21T18:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers Viz not loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408150#M41555</link>
      <description>&lt;P&gt;Glad you got it to work... do accept the answer and upvote the comments that helped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 18:54:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Outliers-Viz-not-loading/m-p/408150#M41555</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-08-21T18:54:08Z</dc:date>
    </item>
  </channel>
</rss>

