<?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: Can you use predict with split by function? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411616#M50226</link>
    <description>&lt;P&gt;I have the same problem/requirement.&lt;BR /&gt;
What I want to do is to have predictions for counts of events in the timechart that is split by country, using trellis chart. Is there a way? The normal BY clause doesn't output anything when adding PREDICT&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 12:15:25 GMT</pubDate>
    <dc:creator>mraudaschl</dc:creator>
    <dc:date>2018-10-15T12:15:25Z</dc:date>
    <item>
      <title>Can you use predict with split by function?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411611#M50221</link>
      <description>&lt;P&gt;Is there a way to split by using predict.&lt;/P&gt;

&lt;P&gt;I can predict on a single factor, e.g. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart span=1h max(values) as values | predict values
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How about: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart span=1h max(values) as values by user?
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Aug 2018 17:37:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411611#M50221</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2018-08-17T17:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use predict with split by function?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411612#M50222</link>
      <description>&lt;P&gt;saw a nice answer by @kmorris_splunk on this subject but couldnt find it now. maybe he will see my ping and will be able to locate it better&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411612#M50222</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-08-17T19:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use predict with split by function?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411613#M50223</link>
      <description>&lt;P&gt;Here it is: &lt;A href="https://answers.splunk.com/answers/661506/predict-with-wildcard.html#answer-661742"&gt;https://answers.splunk.com/answers/661506/predict-with-wildcard.html#answer-661742&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This was a slightly different scenario, but it may be helpful.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Aug 2018 04:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411613#M50223</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2018-08-18T04:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use predict with split by function?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411614#M50224</link>
      <description>&lt;P&gt;Thanks but the example did not support an actual by-clause&lt;/P&gt;

&lt;P&gt;index=_internal sourcetype=splunkd* &lt;BR /&gt;
 | stats count by sourcetype &lt;BR /&gt;
 | map search="search index=_internal sourcetype=$sourcetype$ | timechart count as $sourcetype$ | predict $sourcetype$" &lt;BR /&gt;
 | stats values(*) as * by _time&lt;/P&gt;

&lt;P&gt;I need predict to support "timechart count as $sourcetype$ by host" for example.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:59:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411614#M50224</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2020-09-29T20:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use predict with split by function?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411615#M50225</link>
      <description>&lt;P&gt;What is your exact use case here? What are you trying to predict? &lt;/P&gt;

&lt;P&gt;It's possible your climbing the wrong ladder here&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 16:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411615#M50225</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-08-27T16:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use predict with split by function?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411616#M50226</link>
      <description>&lt;P&gt;I have the same problem/requirement.&lt;BR /&gt;
What I want to do is to have predictions for counts of events in the timechart that is split by country, using trellis chart. Is there a way? The normal BY clause doesn't output anything when adding PREDICT&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 12:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-you-use-predict-with-split-by-function/m-p/411616#M50226</guid>
      <dc:creator>mraudaschl</dc:creator>
      <dc:date>2018-10-15T12:15:25Z</dc:date>
    </item>
  </channel>
</rss>

