<?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 Setting up earliest and latest time with relative date and fixed time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Setting-up-earliest-and-latest-time-with-relative-date-and-fixed/m-p/544555#M154240</link>
    <description>&lt;P&gt;I am trying to define a query where I have to use the earliest time as 2 days ago at 22:20:45 and latest time 1 day ago at 22:20:45&lt;/P&gt;&lt;P&gt;I tried different formats below&lt;/P&gt;&lt;P&gt;earliest=-2d@:22h:20m:45s&lt;/P&gt;&lt;P&gt;latest=-1d@d+20h+30m+45s&lt;/P&gt;&lt;P&gt;But - I am not sure if these are correct and also how can I check if this translates to the date and time I am trying to set.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 17:29:13 GMT</pubDate>
    <dc:creator>AruBhende</dc:creator>
    <dc:date>2021-03-19T17:29:13Z</dc:date>
    <item>
      <title>Setting up earliest and latest time with relative date and fixed time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Setting-up-earliest-and-latest-time-with-relative-date-and-fixed/m-p/544555#M154240</link>
      <description>&lt;P&gt;I am trying to define a query where I have to use the earliest time as 2 days ago at 22:20:45 and latest time 1 day ago at 22:20:45&lt;/P&gt;&lt;P&gt;I tried different formats below&lt;/P&gt;&lt;P&gt;earliest=-2d@:22h:20m:45s&lt;/P&gt;&lt;P&gt;latest=-1d@d+20h+30m+45s&lt;/P&gt;&lt;P&gt;But - I am not sure if these are correct and also how can I check if this translates to the date and time I am trying to set.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 17:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Setting-up-earliest-and-latest-time-with-relative-date-and-fixed/m-p/544555#M154240</guid>
      <dc:creator>AruBhende</dc:creator>
      <dc:date>2021-03-19T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up earliest and latest time with relative date and fixed time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Setting-up-earliest-and-latest-time-with-relative-date-and-fixed/m-p/544611#M154254</link>
      <description>&lt;P data-unlink="true"&gt;I've used similar formats before - only with a single add-on (-1@d+8h, for example) - but I think it should work.&lt;/P&gt;&lt;P data-unlink="true"&gt;Fix the earliest to &lt;FONT face="courier new,courier"&gt;-2d@d+22h+20m+45s&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;To verify you're getting the right start and end times, add the &lt;FONT face="courier new,courier"&gt;addinfo&lt;/FONT&gt; command to your query and display the &lt;FONT face="courier new,courier"&gt;info_min_time&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;info_max_time&lt;/FONT&gt; fields.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 12:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Setting-up-earliest-and-latest-time-with-relative-date-and-fixed/m-p/544611#M154254</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-03-20T12:31:27Z</dc:date>
    </item>
  </channel>
</rss>

