<?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: Timechart's Table Column Header - Sorted in Descending Order in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24475#M4517</link>
    <description>&lt;P&gt;have you tried the sort command? &lt;/P&gt;

&lt;P&gt;host = "JA8*" AND eventtype="firewall*" earliest=7/1/2011:0:0:0 | dedup _raw | timechart count by host span=month limit=20 | sort by host DESC&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:59:20 GMT</pubDate>
    <dc:creator>yong_ly</dc:creator>
    <dc:date>2020-09-28T12:59:20Z</dc:date>
    <item>
      <title>Timechart's Table Column Header - Sorted in Descending Order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24472#M4514</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using version 4.2.2 with the search query: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host = "JA8*" AND eventtype="firewall*" earliest=7/1/2011:0:0:0 | dedup _raw | timechart count by host span=month limit=20 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This produces a timechart with the table header sorted in descending order - "time, JA827J, JA826J, JA825J, JA822J, JA812A, JA810A, ...". Is there anything I can do to get the table header sorted in ascending order - "_time, JA810A, JA812A, JA822J, JA825J, ..." besides upgrading to 5.0 where this issue doesn't occur?&lt;/P&gt;

&lt;P&gt;It appears descending order is being caused by using "limit" in the search query. I have more than 10 hosts so not using "limit" isn't an option as far as I understand it. &lt;/P&gt;

&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;

&lt;P&gt;JForhan &lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 00:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24472#M4514</guid>
      <dc:creator>syslogap</dc:creator>
      <dc:date>2012-11-06T00:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart's Table Column Header - Sorted in Descending Order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24473#M4515</link>
      <description>&lt;P&gt;You can specify the field order with the fields command, it might just require listing every field name.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24473#M4515</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-06T10:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart's Table Column Header - Sorted in Descending Order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24474#M4516</link>
      <description>&lt;P&gt;Thanks. That suffices as a work-around until we upgrade. &lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 19:36:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24474#M4516</guid>
      <dc:creator>syslogap</dc:creator>
      <dc:date>2012-11-06T19:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart's Table Column Header - Sorted in Descending Order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24475#M4517</link>
      <description>&lt;P&gt;have you tried the sort command? &lt;/P&gt;

&lt;P&gt;host = "JA8*" AND eventtype="firewall*" earliest=7/1/2011:0:0:0 | dedup _raw | timechart count by host span=month limit=20 | sort by host DESC&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:59:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24475#M4517</guid>
      <dc:creator>yong_ly</dc:creator>
      <dc:date>2020-09-28T12:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart's Table Column Header - Sorted in Descending Order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24476#M4518</link>
      <description>&lt;P&gt;sort sorts rows, not columns.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:08:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-s-Table-Column-Header-Sorted-in-Descending-Order/m-p/24476#M4518</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-12-19T08:08:16Z</dc:date>
    </item>
  </channel>
</rss>

