<?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 sort the contents of a list by timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-sort-the-contents-of-a-list-by-timestamp/m-p/352048#M64547</link>
    <description>&lt;P&gt;I'm currently querying&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="log" | stats list by Id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which gives me nicely grouped data.&lt;/P&gt;

&lt;P&gt;However I would like the content of those groups sorted by &lt;CODE&gt;Timestamp&lt;/CODE&gt;.&lt;BR /&gt;
That is to say I do not want the groups themselves sorted but the records inside each group.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2017 14:09:49 GMT</pubDate>
    <dc:creator>whydoineedtoreg</dc:creator>
    <dc:date>2017-09-20T14:09:49Z</dc:date>
    <item>
      <title>How to sort the contents of a list by timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-sort-the-contents-of-a-list-by-timestamp/m-p/352048#M64547</link>
      <description>&lt;P&gt;I'm currently querying&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="log" | stats list by Id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which gives me nicely grouped data.&lt;/P&gt;

&lt;P&gt;However I would like the content of those groups sorted by &lt;CODE&gt;Timestamp&lt;/CODE&gt;.&lt;BR /&gt;
That is to say I do not want the groups themselves sorted but the records inside each group.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:09:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-sort-the-contents-of-a-list-by-timestamp/m-p/352048#M64547</guid>
      <dc:creator>whydoineedtoreg</dc:creator>
      <dc:date>2017-09-20T14:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort the contents of a list by timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-sort-the-contents-of-a-list-by-timestamp/m-p/352049#M64548</link>
      <description>&lt;P&gt;Right now they will sorted in reverse-chronological/descending order of timestamp (_time field). Do you want to sort in ascending/chronological order?   If yes, try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="log" | reverse | stats list by Id
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Sep 2017 15:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-sort-the-contents-of-a-list-by-timestamp/m-p/352049#M64548</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-09-20T15:18:03Z</dc:date>
    </item>
  </channel>
</rss>

