<?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 predict per host in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/predict-per-host/m-p/380134#M111283</link>
    <description>&lt;P&gt;There are already some similar questions here, but we're not getting to an answer so far.&lt;BR /&gt;
We would like to predict when the Free Disk Space counter is below a certain value for each host in the index.&lt;BR /&gt;
An example for one host can be written and alerted on as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon host=server1 instance="D:" sourcetype="Perfmon:sqlserverhost:logicaldisk_daily" counter="% Free Space" 
| timechart min(Value) as "Free Space" 
| predict "Free Space" AS p_free_space algorithm=LLP5 future_timespan=180 
| where p_free_space&amp;lt;=5 
| sort _time 
| head 1 | fields _time host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The map command should give us the possibility to do this for multiple hosts, but we're missing something:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon (host=server1 OR host=server2) 
| dedup host 
| map [search index=perfmon host=$host$ instance="D:" sourcetype="Perfmon:sqlserverhost:logicaldisk_daily" counter="% Free Space" 
| timechart min(Value) as "Free Space" 
| predict "Free Space" AS p_free_space algorithm=LLP5 future_timespan=180 
| where p_free_space&amp;lt;=5 ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anybody who can tell what we're missing...?&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2019 09:55:09 GMT</pubDate>
    <dc:creator>deangoris</dc:creator>
    <dc:date>2019-03-26T09:55:09Z</dc:date>
    <item>
      <title>predict per host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/predict-per-host/m-p/380134#M111283</link>
      <description>&lt;P&gt;There are already some similar questions here, but we're not getting to an answer so far.&lt;BR /&gt;
We would like to predict when the Free Disk Space counter is below a certain value for each host in the index.&lt;BR /&gt;
An example for one host can be written and alerted on as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon host=server1 instance="D:" sourcetype="Perfmon:sqlserverhost:logicaldisk_daily" counter="% Free Space" 
| timechart min(Value) as "Free Space" 
| predict "Free Space" AS p_free_space algorithm=LLP5 future_timespan=180 
| where p_free_space&amp;lt;=5 
| sort _time 
| head 1 | fields _time host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The map command should give us the possibility to do this for multiple hosts, but we're missing something:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon (host=server1 OR host=server2) 
| dedup host 
| map [search index=perfmon host=$host$ instance="D:" sourcetype="Perfmon:sqlserverhost:logicaldisk_daily" counter="% Free Space" 
| timechart min(Value) as "Free Space" 
| predict "Free Space" AS p_free_space algorithm=LLP5 future_timespan=180 
| where p_free_space&amp;lt;=5 ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anybody who can tell what we're missing...?&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 09:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/predict-per-host/m-p/380134#M111283</guid>
      <dc:creator>deangoris</dc:creator>
      <dc:date>2019-03-26T09:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: predict per host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/predict-per-host/m-p/380135#M111284</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Did you looked into MLTK new algorithm StateSpaceforecast which supports multivariate? Checkout the blog below for more information:&lt;A href="https://www.splunk.com/blog/2019/03/20/what-s-new-in-the-splunk-machine-learning-toolkit-4-2.html"&gt;https://www.splunk.com/blog/2019/03/20/what-s-new-in-the-splunk-machine-learning-toolkit-4-2.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, we have now new alerts for Machine learning which can be used in your usecase. Checkout the documentation on statespace forecast here : &lt;A href="https://docs.splunk.com/Documentation/MLApp/4.2.0/User/Algorithms#StateSpaceForecast"&gt;https://docs.splunk.com/Documentation/MLApp/4.2.0/User/Algorithms#StateSpaceForecast&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 16:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/predict-per-host/m-p/380135#M111284</guid>
      <dc:creator>grana_splunk</dc:creator>
      <dc:date>2019-03-26T16:56:55Z</dc:date>
    </item>
  </channel>
</rss>

