<?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 Need help on predict command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97708#M25209</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a requirement to do predictive analysis of a metric. I am referring the link &lt;CODE&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/Predict" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/Predict&lt;/A&gt;&lt;/CODE&gt; to understand predict command. In this link, there is no default specified for many options. Only lower and upper predict options have default values.&lt;/P&gt;

&lt;P&gt;Is the documentation incomplete?&lt;/P&gt;

&lt;P&gt;I have a timechart with three values plotted. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart partial=false span=5m first(Average) as Average first(Peak) as Peak first(Capacity) as Capacity
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I added predict command in the end.. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart partial=false span=5m first(Average) as Average first(Peak) as Peak first(Capacity) as Capacity | predict Average 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have 288 results from the search. The predict command values are plotted only till 143 results. After that everything is blank. If i use future_timespan option then i am able to get predict values for other results based on value set for future_timespan.&lt;/P&gt;

&lt;P&gt;Why splunk is stopping predicting at 143 results? It is very difficult to set the value for future_timespan unless i know the behavior of predict command. &lt;/P&gt;

&lt;P&gt;What is the default value of future_timespan?&lt;/P&gt;

&lt;P&gt;Am i missing something here? Please help me.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Strive&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:57:49 GMT</pubDate>
    <dc:creator>strive</dc:creator>
    <dc:date>2020-09-28T14:57:49Z</dc:date>
    <item>
      <title>Need help on predict command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97708#M25209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a requirement to do predictive analysis of a metric. I am referring the link &lt;CODE&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/Predict" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/Predict&lt;/A&gt;&lt;/CODE&gt; to understand predict command. In this link, there is no default specified for many options. Only lower and upper predict options have default values.&lt;/P&gt;

&lt;P&gt;Is the documentation incomplete?&lt;/P&gt;

&lt;P&gt;I have a timechart with three values plotted. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart partial=false span=5m first(Average) as Average first(Peak) as Peak first(Capacity) as Capacity
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I added predict command in the end.. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart partial=false span=5m first(Average) as Average first(Peak) as Peak first(Capacity) as Capacity | predict Average 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have 288 results from the search. The predict command values are plotted only till 143 results. After that everything is blank. If i use future_timespan option then i am able to get predict values for other results based on value set for future_timespan.&lt;/P&gt;

&lt;P&gt;Why splunk is stopping predicting at 143 results? It is very difficult to set the value for future_timespan unless i know the behavior of predict command. &lt;/P&gt;

&lt;P&gt;What is the default value of future_timespan?&lt;/P&gt;

&lt;P&gt;Am i missing something here? Please help me.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Strive&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97708#M25209</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2020-09-28T14:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on predict command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97709#M25210</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
First, the default value for future_timespan is 5. &lt;BR /&gt;
Second, I don't know why splunk stopped predicting at 143 results. Does it plot 288 results if you don't pipe it through predict?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 21:49:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97709#M25210</guid>
      <dc:creator>nnguyen_splunk</dc:creator>
      <dc:date>2013-10-16T21:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on predict command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97710#M25211</link>
      <description>&lt;P&gt;from the docs it says that future_timespan is a number. but my question is what is the period is it 5 hours,days,weeks...etc? where can we controld this or is it controlled by the &lt;CODE&gt;span=d&lt;/CODE&gt; you use in your &lt;CODE&gt;timechart&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 22:00:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97710#M25211</guid>
      <dc:creator>HattrickNZ</dc:creator>
      <dc:date>2015-03-05T22:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on predict command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97711#M25212</link>
      <description>&lt;P&gt;Yes, the span is controlled by the span mentioned in your timechart command. If you write |timechart span=1d then when using your future_timespan="182" . It means that the future time span is 182 days. If you chose your timechart span to be 1 hour, the future_timespan would showcase 182 hours. etc&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-predict-command/m-p/97711#M25212</guid>
      <dc:creator>pred312</dc:creator>
      <dc:date>2020-09-29T20:53:50Z</dc:date>
    </item>
  </channel>
</rss>

