<?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: Using earliest with custom time field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-earliest-with-custom-time-field/m-p/544285#M154180</link>
    <description>&lt;P&gt;If you convert the TIMESTAMP_DERIVED to _time then you can do what you are doing, but that will depend on if you still need _time to be present.&lt;/P&gt;&lt;P&gt;Note that the data you search for will only appear in your results if _time is within the time range selected, so even if&amp;nbsp;TIMESTAMP_DERIVED is a time within your search window it will not be found&lt;/P&gt;&lt;P&gt;You can convert&amp;nbsp;TIMESTAMP_DERIVED with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time=strptime(TIMESTAMP_DERIVED, "_format_specifiers_here")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Mar 2021 05:31:07 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2021-03-18T05:31:07Z</dc:date>
    <item>
      <title>Using earliest with custom time field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-earliest-with-custom-time-field/m-p/544282#M154177</link>
      <description>&lt;P&gt;This below query gives me the earliest trigger_name according to the splunk log timestamps. But I have a custom timestamp field called TIMESTAMP_DERIVED which does not match the _time and I want to do my earliest calculation based on that field. Is this possible?&lt;/P&gt;&lt;P&gt;eventtype=sfdc-event-log | stats earliest(TRIGGER_NAME), earliest(TRIGGER_TYPE) by REQUEST_ID&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 05:16:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-earliest-with-custom-time-field/m-p/544282#M154177</guid>
      <dc:creator>agh</dc:creator>
      <dc:date>2021-03-18T05:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using earliest with custom time field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-earliest-with-custom-time-field/m-p/544285#M154180</link>
      <description>&lt;P&gt;If you convert the TIMESTAMP_DERIVED to _time then you can do what you are doing, but that will depend on if you still need _time to be present.&lt;/P&gt;&lt;P&gt;Note that the data you search for will only appear in your results if _time is within the time range selected, so even if&amp;nbsp;TIMESTAMP_DERIVED is a time within your search window it will not be found&lt;/P&gt;&lt;P&gt;You can convert&amp;nbsp;TIMESTAMP_DERIVED with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time=strptime(TIMESTAMP_DERIVED, "_format_specifiers_here")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 05:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-earliest-with-custom-time-field/m-p/544285#M154180</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-03-18T05:31:07Z</dc:date>
    </item>
  </channel>
</rss>

