<?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: Why  &amp;quot;where&amp;quot;  doesn't work with hight values ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342060#M101357</link>
    <description>&lt;P&gt;I had try this but the request doesn't give all values&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2017 09:25:52 GMT</pubDate>
    <dc:creator>Abarny</dc:creator>
    <dc:date>2017-04-24T09:25:52Z</dc:date>
    <item>
      <title>Why  "where"  doesn't work with hight values ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342056#M101353</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;I have a problem on my request because when i use a short time like 7 days ou 15 days it is right but when i use values like 1 month or 6 months, the request doesn't give me result : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="xxx"  
| rename "logs{}.*"  as * 
|fields user.lastName,projectId,user.firstName, user.lastName,time,type,date 
| eval acteur='user.firstName'." ".'user.lastName'  | search acteur="AAA" 
|rename projectId as NOVA_ID | join[ search index="gtav2_projects"  projects{}.icma="*"  
|rename projects{}.id as NOVA_ID, projects{}.icma as ICMA ] 
| rename projects{}.title as Title ,projects{}.client.name as "Nom Client" 
| dedup Title |eval dateLimite =relative_time(now(),"-7dmon")   
| convert timeformat="%d/%m/%Y %H:%M" ctime(dateLimite)|  where date &amp;gt; dateLimite 
|table "Nom Client",Title,ICMA,date, dateLimite, NOVA_ID 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks you for your help&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 09:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342056#M101353</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-24T09:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why  "where"  doesn't work with hight values ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342057#M101354</link>
      <description>&lt;P&gt;Can you check this part of your query -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval dateLimite =relative_time(now(),"-7dmon")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Looks like the second parameter needs to be fixed. If you want 7 months, it should be "-7mon".&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 09:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342057#M101354</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-04-24T09:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why  "where"  doesn't work with hight values ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342058#M101355</link>
      <description>&lt;P&gt;it was a typing error, sorry ..&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 09:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342058#M101355</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-24T09:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why  "where"  doesn't work with hight values ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342059#M101356</link>
      <description>&lt;P&gt;Try moving the convert statement after the comparison. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index="xxx"  
 | rename "logs{}.*"  as * 
 |fields user.lastName,projectId,user.firstName, user.lastName,time,type,date 
 | eval acteur='user.firstName'." ".'user.lastName'  | search acteur="AAA" 
 |rename projectId as NOVA_ID | join[ search index="gtav2_projects"  projects{}.icma="*"  
 |rename projects{}.id as NOVA_ID, projects{}.icma as ICMA ] 
 | rename projects{}.title as Title ,projects{}.client.name as "Nom Client" 
 | dedup Title |eval dateLimite =relative_time(now(),"-7mon")   
 |  where date &amp;gt; dateLimite | convert timeformat="%d/%m/%Y %H:%M" ctime(dateLimite)
 |table "Nom Client",Title,ICMA,date, dateLimite, NOVA_ID 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Apr 2017 09:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342059#M101356</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-04-24T09:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why  "where"  doesn't work with hight values ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342060#M101357</link>
      <description>&lt;P&gt;I had try this but the request doesn't give all values&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 09:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342060#M101357</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-24T09:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why  "where"  doesn't work with hight values ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342061#M101358</link>
      <description>&lt;P&gt;I try this solution but isn't work too but more easier to debugg I think. Can you tell me why DateAffect is not convert ? &lt;/P&gt;

&lt;P&gt;And why this where block again the result ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="aaa"  
| rename "logs{}.*"  as * 
|fields user.lastName,projectId,user.firstName, user.lastName,time,type,date 
| eval acteur='user.firstName'." ".'user.lastName'  
| search acteur="XXX" 
| rename projectId as NOVA_ID 
| join[ search index="gtav2_projects"  projects{}.icma="*"  
| rename projects{}.id as NOVA_ID, projects{}.icma as ICMA ] 
| rename projects{}.title as Title ,projects{}.client.name as "Nom Client" 
| dedup Title| convert  timeformat="%d/ %m/ %Y" ctime(date) as DateAffect 
| eval debut=relative_time(now(),"-7mon") 
|  convert timeformat="%d/ %m/ %Y %H:%M" ctime(debut)  
| eval fin=relative_time(now(),"-1d")  
| convert timeformat="%d/ %m/ %Y %H:%M" ctime(fin)  
| where (DateAffect &amp;gt; debut AND DateAffect &amp;lt; fin )  
|table "Nom Client",Title,ICMA,debut,fin,date,DateAffect
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks for your answer.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 12:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-quot-where-quot-doesn-t-work-with-hight-values/m-p/342061#M101358</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-24T12:32:47Z</dc:date>
    </item>
  </channel>
</rss>

