<?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 Help with Event Search based on custom time field in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Help-with-Event-Search-based-on-custom-time-field/m-p/599433#M10636</link>
    <description>&lt;P&gt;i found for below query&amp;nbsp; the search is happening based on default time field which is&amp;nbsp; _time&amp;nbsp; , so when ever i am choosing the date and time based on default time which is '&lt;SPAN&gt;5/26/22&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;7:40:00.000 AM&lt;/SPAN&gt;' then the events are populating but if i am selecting any date and time which is align with my custom time field which is 'originaltime'&amp;nbsp; then i am not getting any event , am i doing any thing wrong here&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="summary_carrier_service" originalsource="*gps-request-processor-dev*" originalsourcetype= "*eu-central-1*" event="*Request"
| fields event category labelType documentType regenerate businessKey businessValue sourceNodeType sourceNodeCode geoCode jobId status sourcetype source originaltime
| addinfo
| eval ts=strptime(originaltime,"%Y-%m-%d %H:%M:%S")
| where (ts&amp;gt;info_min_time and ts&amp;lt;=info_max_time)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csahoo_0-1653569210765.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19837iC3C91C1A05FD551C/image-size/large?v=v2&amp;amp;px=999" role="button" title="csahoo_0-1653569210765.png" alt="csahoo_0-1653569210765.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 15:14:25 GMT</pubDate>
    <dc:creator>csahoo</dc:creator>
    <dc:date>2022-05-26T15:14:25Z</dc:date>
    <item>
      <title>Help with Event Search based on custom time field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Help-with-Event-Search-based-on-custom-time-field/m-p/599433#M10636</link>
      <description>&lt;P&gt;i found for below query&amp;nbsp; the search is happening based on default time field which is&amp;nbsp; _time&amp;nbsp; , so when ever i am choosing the date and time based on default time which is '&lt;SPAN&gt;5/26/22&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;7:40:00.000 AM&lt;/SPAN&gt;' then the events are populating but if i am selecting any date and time which is align with my custom time field which is 'originaltime'&amp;nbsp; then i am not getting any event , am i doing any thing wrong here&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="summary_carrier_service" originalsource="*gps-request-processor-dev*" originalsourcetype= "*eu-central-1*" event="*Request"
| fields event category labelType documentType regenerate businessKey businessValue sourceNodeType sourceNodeCode geoCode jobId status sourcetype source originaltime
| addinfo
| eval ts=strptime(originaltime,"%Y-%m-%d %H:%M:%S")
| where (ts&amp;gt;info_min_time and ts&amp;lt;=info_max_time)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csahoo_0-1653569210765.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19837iC3C91C1A05FD551C/image-size/large?v=v2&amp;amp;px=999" role="button" title="csahoo_0-1653569210765.png" alt="csahoo_0-1653569210765.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 15:14:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Help-with-Event-Search-based-on-custom-time-field/m-p/599433#M10636</guid>
      <dc:creator>csahoo</dc:creator>
      <dc:date>2022-05-26T15:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Event Search based on custom time field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Help-with-Event-Search-based-on-custom-time-field/m-p/599447#M10637</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;AND&lt;/FONT&gt; operator in the &lt;FONT face="courier new,courier"&gt;where&lt;/FONT&gt; command must be in upper case.&lt;/P&gt;&lt;P&gt;If you still don't get results, use the &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; command to examine the ts, info_min_time, and info_max_time fields.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:14:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Help-with-Event-Search-based-on-custom-time-field/m-p/599447#M10637</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-26T14:14:10Z</dc:date>
    </item>
  </channel>
</rss>

