<?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: Can't get my chart to sort in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-t-get-my-chart-to-sort/m-p/483197#M135315</link>
    <description>&lt;P&gt;That's the ticket! Thank you so much! Now I can look into the things I don't understand and learn from this!&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2020 13:22:49 GMT</pubDate>
    <dc:creator>peterimbery</dc:creator>
    <dc:date>2020-02-27T13:22:49Z</dc:date>
    <item>
      <title>Can't get my chart to sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-get-my-chart-to-sort/m-p/483195#M135313</link>
      <description>&lt;P&gt;Here is my query&lt;/P&gt;

&lt;P&gt;index="myIndex" AND host="myHost" AND ObjectName="myObjectName" &lt;BR /&gt;
| eval secondsEpoch = GroupDateTime/1000&lt;BR /&gt;
| eval displayDate=strftime(secondsEpoch,"%m-%d %H:%M") &lt;BR /&gt;
| chart sum(RecordCount) over CallingClass by displayDate&lt;BR /&gt;
| sort 0 -GroupDateTime&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8461i530A0C03600AB90B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;GroupDateTime is a time that I am logging to splunk it contains an epoch time in milliseconds. &lt;/P&gt;

&lt;P&gt;No matter how I sort my data it comes out looking like this. What I want is the latest date on the left column. I have even tried to chart by CallingClass over GroupDateTime and that doesn't work either. I even tried _time. &lt;/P&gt;

&lt;P&gt;I have tried for several days to get this to work and can't find a solutions. I suspect it is probably something easy. &lt;BR /&gt;
I am new to splunk so some solutions I didn't understand or couldn't get to work. &lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 14:51:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-get-my-chart-to-sort/m-p/483195#M135313</guid>
      <dc:creator>peterimbery</dc:creator>
      <dc:date>2020-02-26T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get my chart to sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-get-my-chart-to-sort/m-p/483196#M135314</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index="myIndex" AND host="myHost" AND ObjectName="myObjectName"
| eval secondsEpoch = GroupDateTime/1000
| eval displayDate=strftime(secondsEpoch,"%m-%d %H:%M")
|chart limit=0 useother=f usenull=f sum(RecordCount) as RecordCount by displayDate CallingClass
|sort 0 - displayDate
|transpose 0 header_field=displayDate column_name=CallingClass
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Feb 2020 21:20:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-get-my-chart-to-sort/m-p/483196#M135314</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-26T21:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get my chart to sort</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-get-my-chart-to-sort/m-p/483197#M135315</link>
      <description>&lt;P&gt;That's the ticket! Thank you so much! Now I can look into the things I don't understand and learn from this!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 13:22:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-get-my-chart-to-sort/m-p/483197#M135315</guid>
      <dc:creator>peterimbery</dc:creator>
      <dc:date>2020-02-27T13:22:49Z</dc:date>
    </item>
  </channel>
</rss>

