<?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: Sort column in a report based on _time in descending order in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462112#M7434</link>
    <description>&lt;P&gt;Thank you for the quick reply. Below is my query for the report. I am having trouble to understand where should the argument you mentioned be placed. Also is there a way where this can be done in the pivot?&lt;/P&gt;

&lt;P&gt;| pivot servicestrafficcaapimodel servicesapielsproductionds count(servicesapielsproductionds) AS count SPLITROW _time AS _time PERIOD day SPLITROW service AS service SPLITROW operation AS operation SPLITROW method AS method SPLITROW principal AS principal SPLITROW systemid AS systemid SORT 100 _time ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER 1&lt;/P&gt;</description>
    <pubDate>Mon, 26 Aug 2019 20:41:22 GMT</pubDate>
    <dc:creator>pdantuuri0411</dc:creator>
    <dc:date>2019-08-26T20:41:22Z</dc:date>
    <item>
      <title>Sort column in a report based on _time in descending order</title>
      <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462110#M7432</link>
      <description>&lt;P&gt;Hi, We have reports and they are configured to be based on _time in Ascending order. However, I want to configure them to be in descending order. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 20:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462110#M7432</guid>
      <dc:creator>pdantuuri0411</dc:creator>
      <dc:date>2019-08-26T20:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sort column in a report based on _time in descending order</title>
      <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462111#M7433</link>
      <description>&lt;P&gt;&lt;CODE&gt;| sort - _time&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 20:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462111#M7433</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-26T20:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sort column in a report based on _time in descending order</title>
      <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462112#M7434</link>
      <description>&lt;P&gt;Thank you for the quick reply. Below is my query for the report. I am having trouble to understand where should the argument you mentioned be placed. Also is there a way where this can be done in the pivot?&lt;/P&gt;

&lt;P&gt;| pivot servicestrafficcaapimodel servicesapielsproductionds count(servicesapielsproductionds) AS count SPLITROW _time AS _time PERIOD day SPLITROW service AS service SPLITROW operation AS operation SPLITROW method AS method SPLITROW principal AS principal SPLITROW systemid AS systemid SORT 100 _time ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER 1&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 20:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462112#M7434</guid>
      <dc:creator>pdantuuri0411</dc:creator>
      <dc:date>2019-08-26T20:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sort column in a report based on _time in descending order</title>
      <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462113#M7435</link>
      <description>&lt;P&gt;if you have a _time field in your output place it at the last..can you share a snapshot of your output?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 20:44:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462113#M7435</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-26T20:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sort column in a report based on _time in descending order</title>
      <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462114#M7436</link>
      <description>&lt;P&gt;Thank you for the quick reply. I am able to get the results required.&lt;/P&gt;

&lt;P&gt;However, I don't have permission to change the query to extract the result. All I can do is change the configuration in the pivot. Is there a way where I can do this through Pivot. I see I can change the report to get the results in ascending order.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 20:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462114#M7436</guid>
      <dc:creator>pdantuuri0411</dc:creator>
      <dc:date>2019-08-26T20:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sort column in a report based on _time in descending order</title>
      <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462115#M7437</link>
      <description>&lt;P&gt;Configuration options specific to split row elements regardless of field type&lt;/P&gt;

&lt;P&gt;Label - Use this to override the field name with a different text string for reporting purposes. For example, you can use it to ensure that an field titled "product name" displays as "Product" in the pivot.&lt;BR /&gt;
Sort - How the split rows that the element creates should be sorted. Available values are Default, Descending, and Ascending. The default is Default.&lt;BR /&gt;
When the Sort value is Default Splunk software sorts the rows naturally by the field type of the first split. In other words, if the first split is on uri (a string field), the rows will be sorted alphabetically by the value of uri. If it is on _time (a timestamp field) the rows will be sorted in ascending chronological order.&lt;BR /&gt;
When the Sort value is Descending or Ascending, the rows will be sorted by the value of the first Column Values element that outputs a metric value (via an aggregation operation like count, sum, average, and so on).&lt;BR /&gt;
your first split should be on _time and sort value as descending &lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 21:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/462115#M7437</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-26T21:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sort column in a report based on _time in descending order</title>
      <link>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/673294#M12326</link>
      <description>&lt;P&gt;FYI as of 2024:&lt;/P&gt;&lt;P&gt;This command would reach limit specified in limits.conf. As default, it would return 10,000 events, even if there's more than that.&lt;/P&gt;&lt;P&gt;Instead, use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| sort 0 -_time&lt;/LI-CODE&gt;&lt;P&gt;This would return the full result, although can impact performance.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 01:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sort-column-in-a-report-based-on-time-in-descending-order/m-p/673294#M12326</guid>
      <dc:creator>ClubMed</dc:creator>
      <dc:date>2024-01-05T01:53:17Z</dc:date>
    </item>
  </channel>
</rss>

