<?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 command not working with eval count. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Predict-command-not-working-with-eval-count/m-p/583455#M203175</link>
    <description>&lt;P&gt;I have the following query that I am working to establish a prediction for. I am able to be the volume to predict but I wanted to also predict a failure rate for this. When I add in the failure count though I do not get any results. I confirmed the query works fine when removing the predict also. Is this a limitation on predict?&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|timechart span=15m count as volume, count(eval(match(login, "failure"))) as "failures"
| predict volume, failures&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also see, "&lt;SPAN&gt;Invalid time series index: 2".&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Feb 2022 22:03:44 GMT</pubDate>
    <dc:creator>SMM10</dc:creator>
    <dc:date>2022-02-02T22:03:44Z</dc:date>
    <item>
      <title>Predict command not working with eval count.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Predict-command-not-working-with-eval-count/m-p/583455#M203175</link>
      <description>&lt;P&gt;I have the following query that I am working to establish a prediction for. I am able to be the volume to predict but I wanted to also predict a failure rate for this. When I add in the failure count though I do not get any results. I confirmed the query works fine when removing the predict also. Is this a limitation on predict?&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|timechart span=15m count as volume, count(eval(match(login, "failure"))) as "failures"
| predict volume, failures&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also see, "&lt;SPAN&gt;Invalid time series index: 2".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 22:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Predict-command-not-working-with-eval-count/m-p/583455#M203175</guid>
      <dc:creator>SMM10</dc:creator>
      <dc:date>2022-02-02T22:03:44Z</dc:date>
    </item>
  </channel>
</rss>

