<?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: Searching for times being reached within the hour in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searching-for-times-being-reached-within-the-hour/m-p/570212#M198740</link>
    <description>&lt;P&gt;Check out the &lt;FONT face="courier new,courier"&gt;relative_time&lt;/FONT&gt; function in the Search Reference manual.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 12:43:15 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-10-08T12:43:15Z</dc:date>
    <item>
      <title>Searching for times being reached within the hour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-for-times-being-reached-within-the-hour/m-p/570176#M198729</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I am new to Splunk and working with parking records. Within my events, I have a permit_expiry field, which is a date and time a few or so hours after the initial data timestamp.&lt;BR /&gt;&lt;BR /&gt;How do I display the number of permit_expiry which are occurring&amp;nbsp;within the hour. I understand there is the now() function which holds the current time, but am unsure how to utilise it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My draft search is below, but I know there is something missing within the "now() + 1 hour".&lt;/P&gt;&lt;P&gt;sourcetype="parking_log"&lt;BR /&gt;| where permit_expiry &amp;lt; now() + 1 hour&lt;BR /&gt;| stats count by permit_expiry&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 08:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-for-times-being-reached-within-the-hour/m-p/570176#M198729</guid>
      <dc:creator>mlg</dc:creator>
      <dc:date>2021-10-08T08:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for times being reached within the hour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-for-times-being-reached-within-the-hour/m-p/570212#M198740</link>
      <description>&lt;P&gt;Check out the &lt;FONT face="courier new,courier"&gt;relative_time&lt;/FONT&gt; function in the Search Reference manual.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 12:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-for-times-being-reached-within-the-hour/m-p/570212#M198740</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-10-08T12:43:15Z</dc:date>
    </item>
  </channel>
</rss>

