<?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: Need help on predict command usage in graph in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362151#M106980</link>
    <description>&lt;P&gt;@Sukisen1981 , This works but when I eval the predict field, it gets rid of the upper and lower limit possibilities. Is there a way to keep those in the graph as well?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2017 13:02:49 GMT</pubDate>
    <dc:creator>kdimaria</dc:creator>
    <dc:date>2017-10-02T13:02:49Z</dc:date>
    <item>
      <title>Need help on predict command usage in graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362149#M106978</link>
      <description>&lt;P&gt;I have a trend graph that shows some data then its predicting out that data a couple days forward. However, The prediction starts when the normal data starts, when I would rather have the prediction start on the graph when there is no previous data. Basically attaching itself to the previous trendline and adding on with it's prediction. Is there a way to do this? &lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:09:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362149#M106978</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2017-09-29T17:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on predict command usage in graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362150#M106979</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;timechart span=5min avg(p) as Act |predict Act AS pred  algorithm=LLP5 upper95=high lower95=low holdback=30 future_timespan=70 | eval pred=if(isnull(Act),pred,Act)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;==&lt;BR /&gt;
Assuming Act as actuals &amp;amp; pred as predicted field names&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362150#M106979</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-29T17:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on predict command usage in graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362151#M106980</link>
      <description>&lt;P&gt;@Sukisen1981 , This works but when I eval the predict field, it gets rid of the upper and lower limit possibilities. Is there a way to keep those in the graph as well?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 13:02:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362151#M106980</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2017-10-02T13:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on predict command usage in graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362152#M106981</link>
      <description>&lt;P&gt;@kdimaria, if your intention is to distinguish prediction chart between current time span and future time span, you can try installing &lt;CODE&gt;Machine Learning Toolkit&lt;/CODE&gt; app (&lt;A href="https://splunkbase.splunk.com/app/2890/"&gt;https://splunkbase.splunk.com/app/2890/&lt;/A&gt;) which adds &lt;CODE&gt;Forecast Chart visualization&lt;/CODE&gt;. As you can see the Current Time Series is highlighted in Red and Future Time Series in Blue, Current Confidence Interval in Orange and Future Confidence Interval in Green.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3566iA5AEB8F2461D7D6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Refer to documentation for passing &lt;CODE&gt;predict&lt;/CODE&gt; command parameters to &lt;CODE&gt;forecastviz&lt;/CODE&gt; or &lt;CODE&gt;modvizpredict&lt;/CODE&gt; macro: &lt;A href="https://docs.splunk.com/Documentation/MLApp/latest/User/Customvisualizations#Forecast_Chart_.28ForecastViz.29"&gt;https://docs.splunk.com/Documentation/MLApp/latest/User/Customvisualizations#Forecast_Chart_.28ForecastViz.29&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can also refer to Forecast Time Series documentation on &lt;A href="http://docs.splunk.com/Documentation/MLApp/latest/User/ForecastTimeSeries"&gt;http://docs.splunk.com/Documentation/MLApp/latest/User/ForecastTimeSeries&lt;/A&gt;&lt;BR /&gt;
Please try out and confirm.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 16:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362152#M106981</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-02T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on predict command usage in graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362153#M106982</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes, I get what you mean  - high(pred) and low(pred) ae missing. However, try this :&lt;/P&gt;

&lt;P&gt;timechart span=5min avg(p) as Act |predict Act AS pred  algorithm=LLP5 upper95=high lower95=low holdback=30 future_timespan=70 | eval pred=if(isnull(Act),pred,Act) |rename high(pred) AS X|fields _time,Act,X,pred&lt;/P&gt;

&lt;P&gt;You will get X plotted as the high limit values.///apply same and rename low(pred) to Y .&lt;BR /&gt;
Choose X and Y names as something like hmmm maybe -  "High / Low Limit"&lt;BR /&gt;
I use he MLTK app like @niketnilay is saying....&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 16:19:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command-usage-in-graph/m-p/362153#M106982</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-10-03T16:19:53Z</dc:date>
    </item>
  </channel>
</rss>

