<?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 How to search by specific date and time range and compare with other date and time stats? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-by-specific-date-and-time-range-and-compare-with/m-p/625015#M217266</link>
    <description>&lt;P&gt;I am trying to search with specific date and time. Is it possible to search and compare?&lt;/P&gt;
&lt;P&gt;for example, i want to get stats from 2022-12-20 14:00:00 to&amp;nbsp; 2022-12-20 15:00:00 and compare it with other dates like 12/16, 12/10/, 12/5 with same time range. is there a way to get stats compared side by side with other dates&amp;nbsp;&lt;BR /&gt;OR&amp;nbsp;&lt;BR /&gt;just have the all mentioned dates and time (2p-3p) there in search query ?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 15:16:10 GMT</pubDate>
    <dc:creator>mikeyty07</dc:creator>
    <dc:date>2022-12-22T15:16:10Z</dc:date>
    <item>
      <title>How to search by specific date and time range and compare with other date and time stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-by-specific-date-and-time-range-and-compare-with/m-p/625015#M217266</link>
      <description>&lt;P&gt;I am trying to search with specific date and time. Is it possible to search and compare?&lt;/P&gt;
&lt;P&gt;for example, i want to get stats from 2022-12-20 14:00:00 to&amp;nbsp; 2022-12-20 15:00:00 and compare it with other dates like 12/16, 12/10/, 12/5 with same time range. is there a way to get stats compared side by side with other dates&amp;nbsp;&lt;BR /&gt;OR&amp;nbsp;&lt;BR /&gt;just have the all mentioned dates and time (2p-3p) there in search query ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 15:16:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-by-specific-date-and-time-range-and-compare-with/m-p/625015#M217266</guid>
      <dc:creator>mikeyty07</dc:creator>
      <dc:date>2022-12-22T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: search by specific date and time range and compare with other date and time stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-by-specific-date-and-time-range-and-compare-with/m-p/625025#M217269</link>
      <description>&lt;P&gt;Just put the date/time ranges in the query&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(earliest="12/20/2022:14:00:00" latest="12/20/2022:15:00:00") OR
(earliest="12/16/2022:14:00:00" latest="12/16/2022:15:00:00") OR
(earliest="12/10/2022:14:00:00" latest="12/10/2022:15:00:00")&lt;/LI-CODE&gt;&lt;P&gt;and the the simplest way is to then&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| bin _time span=1d
| stats count by _time&lt;/LI-CODE&gt;&lt;P&gt;or you may have date_hour field auto extracted, in which case you could just set the time picker and use date_hour=3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 23:17:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-by-specific-date-and-time-range-and-compare-with/m-p/625025#M217269</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-12-21T23:17:42Z</dc:date>
    </item>
  </channel>
</rss>

