<?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: time field search in load job not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/516831#M87475</link>
    <description>&lt;P&gt;you should pass something like below:&lt;/P&gt;&lt;P&gt;| search earliest=“” latest=“”&lt;/P&gt;&lt;P&gt;the format of earliest and latest is&amp;nbsp;&lt;/P&gt;&lt;P&gt;%m/%d/%Y:%H:%M:%S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/SearchTimeModifiers" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/SearchTimeModifiers&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Aug 2020 06:05:30 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-08-29T06:05:30Z</dc:date>
    <item>
      <title>time field search in load job not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/516821#M87465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a savedsearch which i am calling like below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;| loadjob savedsearch="admin:Splunk_Security:chk_coding_pie_accl" |search Time="*2020-08-24*"&lt;/P&gt;&lt;P&gt;When i have to use Time tokens then its not working&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chk_load.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10561i047F1E9EA8CF834F/image-size/large?v=v2&amp;amp;px=999" role="button" title="chk_load.PNG" alt="chk_load.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This loadjob query is my pie chart query for a panel where earlist time and latest time will be as per the choosen time from the time field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when i try to pass this like below i get no results although it has value for that Time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;|loadjob savedsearch="admin:appname:savedsearch" |search earliest=$field1.earliest$ latest=$field1.latest$ | stats count by Manager&lt;/P&gt;&lt;P&gt;How to pass the time properly here ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2020 04:02:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/516821#M87465</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-08-29T04:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: time field search in load job not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/516831#M87475</link>
      <description>&lt;P&gt;you should pass something like below:&lt;/P&gt;&lt;P&gt;| search earliest=“” latest=“”&lt;/P&gt;&lt;P&gt;the format of earliest and latest is&amp;nbsp;&lt;/P&gt;&lt;P&gt;%m/%d/%Y:%H:%M:%S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/SearchTimeModifiers" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/SearchTimeModifiers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2020 06:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/516831#M87475</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-29T06:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: time field search in load job not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/518624#M87679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129407"&gt;@thambisetty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that i have to change the format but it doesn't work as expected. I added the where clause but looks like that doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;| where Time=strptime("1599503400","%Y-%m-%d %H:%M:%S")&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 08:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/518624#M87679</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-09-09T08:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: time field search in load job not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/518626#M87680</link>
      <description>&lt;P&gt;First, convert your Time field using below eval Time_epoch and then you need to pass your value in where in epoch time.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|makeresults | eval _raw="Time,user
2020-08-24 12:50:14,admin
2020-09-01 12:40:14,power"
| multikv forceheader=1
| table Time user 
| eval Time_epoch=strptime(Time,"%Y-%m-%d %H:%M:%S")
| where Time_epoch&amp;lt;=1598259014&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Sep 2020 08:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/time-field-search-in-load-job-not-working/m-p/518626#M87680</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-09T08:56:03Z</dc:date>
    </item>
  </channel>
</rss>

