<?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: How to use the predict command without the time chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-predict-command-without-the-time-chart/m-p/417430#M120109</link>
    <description>&lt;P&gt;Don't use the predict command, it will not work as expected. You can achieve what you're looking for using the MLTK and linear regression. You are looking for the slope (rate of change for growth), so you should easily be able to forecast a future value &lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 15:52:07 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2019-07-30T15:52:07Z</dc:date>
    <item>
      <title>How to use the predict command without the time chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-predict-command-without-the-time-chart/m-p/417429#M120108</link>
      <description>&lt;P&gt;I would like to predict how long the transaction would take given the dataset grows. Let us assume the job runs daily.&lt;/P&gt;

&lt;P&gt;This is the query shows how the long the job would take over time. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=*** | transaction startswith="Kick Off" endswith="End"  | timechart span=1d max(duration) as duration  | predict duration future_timespan=30
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is the query shows how the data set grows over time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=** | transaction startswith="Kick Off" endswith="End" | timechart span=1d max(DataSetCount) as DataSetCount | predict DataSetCount future_timespan=30
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I am after predict the time if data set grows over time by exponentially or linearly.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 13:25:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-predict-command-without-the-time-chart/m-p/417429#M120108</guid>
      <dc:creator>hackerspoint</dc:creator>
      <dc:date>2019-07-30T13:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the predict command without the time chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-predict-command-without-the-time-chart/m-p/417430#M120109</link>
      <description>&lt;P&gt;Don't use the predict command, it will not work as expected. You can achieve what you're looking for using the MLTK and linear regression. You are looking for the slope (rate of change for growth), so you should easily be able to forecast a future value &lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 15:52:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-predict-command-without-the-time-chart/m-p/417430#M120109</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2019-07-30T15:52:07Z</dc:date>
    </item>
  </channel>
</rss>

