<?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 event grouped by in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21398#M3513</link>
    <description>&lt;P&gt;It seems that once you do this you lose access to the fields and would have to parse it out manually.  For example if you pipe the above to "| table _time" _time is empty.  Any way around this?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2013 20:35:58 GMT</pubDate>
    <dc:creator>YisroelB</dc:creator>
    <dc:date>2013-06-27T20:35:58Z</dc:date>
    <item>
      <title>Last event grouped by</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21395#M3510</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am building an app for managing some network switches. One of the views I want to create has the same data list:&lt;/P&gt;

&lt;P&gt;For a given period of time, grouped by host, the date of the last event that matches certain criteria. &lt;/P&gt;

&lt;P&gt;I can do that easily with "| tail 1", but that only covers one host or query. With the stats command, I can easily find the number of events matched grouped by host, but I am struggling to find the last one only for every host.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 17:40:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21395#M3510</guid>
      <dc:creator>oscargarcia</dc:creator>
      <dc:date>2011-06-02T17:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Last event grouped by</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21396#M3511</link>
      <description>&lt;P&gt;How about:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats last(_raw) by host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2011 18:05:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21396#M3511</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-06-02T18:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Last event grouped by</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21397#M3512</link>
      <description>&lt;P&gt;so elegant... I love it... thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 21:28:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21397#M3512</guid>
      <dc:creator>oscargarcia</dc:creator>
      <dc:date>2011-06-02T21:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last event grouped by</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21398#M3513</link>
      <description>&lt;P&gt;It seems that once you do this you lose access to the fields and would have to parse it out manually.  For example if you pipe the above to "| table _time" _time is empty.  Any way around this?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2013 20:35:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21398#M3513</guid>
      <dc:creator>YisroelB</dc:creator>
      <dc:date>2013-06-27T20:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Last event grouped by</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21399#M3514</link>
      <description>&lt;P&gt;&lt;CODE&gt;dedup host&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2013 20:58:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Last-event-grouped-by/m-p/21399#M3514</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-06-27T20:58:01Z</dc:date>
    </item>
  </channel>
</rss>

