<?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 for Predict command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-for-Predict-command/m-p/121289#M32636</link>
    <description>&lt;P&gt;using map command able to filter the results,&lt;/P&gt;

&lt;P&gt;index="akamai-bill"  |table BU, SBU| map search="search index="akamai-bill"  SBU=$SBU$ |stats sum(BU_Total) as "cost" by _time, SBU | predict "cost"  algorithm=LLT future_timespan=3  | table _time, SBU,lower95(prediction(cost)) ,prediction(cost),upper95(prediction(cost))  | eval SBU=if(SBU=$SBU$, $SBU$,$SBU$."1")  |  table _time, SBU,lower95(prediction(cost)) ,prediction(cost),upper95(prediction(cost)) | where SBU!=$SBU$ | table _time, SBU,lower95(prediction(cost)) ,prediction(cost),upper95(prediction(cost))  | eval SBU=$SBU$ "&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 20:04:07 GMT</pubDate>
    <dc:creator>dhavamanis</dc:creator>
    <dc:date>2020-09-28T20:04:07Z</dc:date>
    <item>
      <title>Need help for Predict command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-for-Predict-command/m-p/121288#M32635</link>
      <description>&lt;P&gt;Need your help,&lt;/P&gt;

&lt;P&gt;We need to get the prediction for each business unit and sub business unit. But the below query giving the overall business unit prediction. Please provide the working example to get each business unit and sub business unit wise split-up for next 3 month prediction.&lt;/P&gt;

&lt;P&gt;index="akamai-bill" |stats sum(BU_Total) as "cost($)" by _time, BU, SBU | predict "cost($)"  algorithm=LLT future_timespan=3 | sort + SBU +BU&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-for-Predict-command/m-p/121288#M32635</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2020-09-28T20:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for Predict command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-for-Predict-command/m-p/121289#M32636</link>
      <description>&lt;P&gt;using map command able to filter the results,&lt;/P&gt;

&lt;P&gt;index="akamai-bill"  |table BU, SBU| map search="search index="akamai-bill"  SBU=$SBU$ |stats sum(BU_Total) as "cost" by _time, SBU | predict "cost"  algorithm=LLT future_timespan=3  | table _time, SBU,lower95(prediction(cost)) ,prediction(cost),upper95(prediction(cost))  | eval SBU=if(SBU=$SBU$, $SBU$,$SBU$."1")  |  table _time, SBU,lower95(prediction(cost)) ,prediction(cost),upper95(prediction(cost)) | where SBU!=$SBU$ | table _time, SBU,lower95(prediction(cost)) ,prediction(cost),upper95(prediction(cost))  | eval SBU=$SBU$ "&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-for-Predict-command/m-p/121289#M32636</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2020-09-28T20:04:07Z</dc:date>
    </item>
  </channel>
</rss>

