<?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: Last record per hour in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Last-record-per-hour/m-p/496662#M194694</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| bin _time span=1h | stats max(Timestamp) by ID, SignalStrength, _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Mar 2020 11:14:30 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2020-03-17T11:14:30Z</dc:date>
    <item>
      <title>Last record per hour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Last-record-per-hour/m-p/496661#M194693</link>
      <description>&lt;P&gt;I manage to extract the data from Splunk below:&lt;BR /&gt;
ID        SignalStrength           TimeStamp&lt;BR /&gt;
01       3                                   09:00:05&lt;BR /&gt;
01       0                                   09:30:00&lt;BR /&gt;
02       0                                   09:00:05&lt;BR /&gt;
02       0                                   09:30:00&lt;BR /&gt;
02       3                                   09:55:00&lt;/P&gt;

&lt;P&gt;But I wanted to reduce it further to only get the last record in the hour, like this:&lt;BR /&gt;
ID        SignalStrength           TimeStamp&lt;BR /&gt;
01       0                                   09:30:00&lt;BR /&gt;
02       3                                   09:55:00&lt;/P&gt;

&lt;P&gt;I tried this:&lt;BR /&gt;
| stats max(Timestamp) by ID, SignalStrength&lt;/P&gt;

&lt;P&gt;but it gave me the maximum on the day not per hour.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 04:37:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Last-record-per-hour/m-p/496661#M194693</guid>
      <dc:creator>627412</dc:creator>
      <dc:date>2020-03-17T04:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last record per hour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Last-record-per-hour/m-p/496662#M194694</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| bin _time span=1h | stats max(Timestamp) by ID, SignalStrength, _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Mar 2020 11:14:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Last-record-per-hour/m-p/496662#M194694</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-03-17T11:14:30Z</dc:date>
    </item>
  </channel>
</rss>

