<?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 Why is the External search command 'predict' returning error code 1? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-External-search-command-predict-returning-error-code/m-p/313359#M58732</link>
    <description>&lt;P&gt;The External search command 'predict' returned error code 1. Where is the problem in the command I used down below?&lt;BR /&gt;
Thanks!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| pivot FFJJ__Licencis Evnement count(Evnement) AS nb_licenciés SPLITROW _time AS _time PERIOD year SPLITROW IDE_SEXE as sexe SPLITROW IDE_CLEE AS IDE_CLEE SPLITROW DIS_CODE AS DIS_CODE SPLITROW LIC_SAISON AS LIC_SAISON FILTER IDE_CLEE &amp;gt; 0 FILTER club_code is * FILTER DIS_CODE is 5 FILTER dep_code is *  SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 NUMCOLS 0 SHOWOTHER 1 | where nb_licenciés =1| eval saison=substr(LIC_SAISON,0,4), saison_précédente=saison-1, saison_suivante=saison+1 | eventstats list(saison) as liste_saisons by IDE_CLEE DIS_CODE | eval est_dernière_saison=if(saison=max(liste_saisons) and saison!=2017,1,0), est_première_saison=if(saison==min(liste_saisons),1,0), nb_saisons=mvcount(liste_saisons), est_renouvellement=if(isnotnull(mvfind(liste_saisons,saison_précédente)),1,0), est_reprise=if(isnull(mvfind(liste_saisons,saison_précédente)) and est_première_saison==0,1,0), est_dernière_saison_avant_reprise=if(isnull(mvfind(liste_saisons,saison_suivante)) and est_dernière_saison==0,1,0) | timechart span=1y sum(est_dernière_saison) as nb_departs 
| `modvizpredict("nb_departs", "LLP5", "17", "15", "", "95")`
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Feb 2018 09:50:40 GMT</pubDate>
    <dc:creator>Laila_Haggoud</dc:creator>
    <dc:date>2018-02-27T09:50:40Z</dc:date>
    <item>
      <title>Why is the External search command 'predict' returning error code 1?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-External-search-command-predict-returning-error-code/m-p/313359#M58732</link>
      <description>&lt;P&gt;The External search command 'predict' returned error code 1. Where is the problem in the command I used down below?&lt;BR /&gt;
Thanks!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| pivot FFJJ__Licencis Evnement count(Evnement) AS nb_licenciés SPLITROW _time AS _time PERIOD year SPLITROW IDE_SEXE as sexe SPLITROW IDE_CLEE AS IDE_CLEE SPLITROW DIS_CODE AS DIS_CODE SPLITROW LIC_SAISON AS LIC_SAISON FILTER IDE_CLEE &amp;gt; 0 FILTER club_code is * FILTER DIS_CODE is 5 FILTER dep_code is *  SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 NUMCOLS 0 SHOWOTHER 1 | where nb_licenciés =1| eval saison=substr(LIC_SAISON,0,4), saison_précédente=saison-1, saison_suivante=saison+1 | eventstats list(saison) as liste_saisons by IDE_CLEE DIS_CODE | eval est_dernière_saison=if(saison=max(liste_saisons) and saison!=2017,1,0), est_première_saison=if(saison==min(liste_saisons),1,0), nb_saisons=mvcount(liste_saisons), est_renouvellement=if(isnotnull(mvfind(liste_saisons,saison_précédente)),1,0), est_reprise=if(isnull(mvfind(liste_saisons,saison_précédente)) and est_première_saison==0,1,0), est_dernière_saison_avant_reprise=if(isnull(mvfind(liste_saisons,saison_suivante)) and est_dernière_saison==0,1,0) | timechart span=1y sum(est_dernière_saison) as nb_departs 
| `modvizpredict("nb_departs", "LLP5", "17", "15", "", "95")`
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2018 09:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-the-External-search-command-predict-returning-error-code/m-p/313359#M58732</guid>
      <dc:creator>Laila_Haggoud</dc:creator>
      <dc:date>2018-02-27T09:50:40Z</dc:date>
    </item>
  </channel>
</rss>

