<?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: Why is the sort function not saving properly in dashboard panels? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300426#M19083</link>
    <description>&lt;P&gt;@twmoffit, we had noticed this issue with Internet Explorer (IE), however, the same worked fine with Chrome. Can you try that?&lt;/P&gt;

&lt;P&gt;This seemed like a bug with IE.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 04:02:54 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-07-11T04:02:54Z</dc:date>
    <item>
      <title>Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300423#M19080</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am having an issue where I want to sort my data in a chart  but for some reason when I save and close the dashboard, my sort removed a " " (space) from the search. Here is an example,&lt;/P&gt;

&lt;P&gt;I save the search as this and the largest 10 items return in my visualization:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;....
| chart sum(FREE_GB) sum(USED_GB) over TS_NAME
| sort 10 -num("sum(USED_GB)")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, when I save and then close or refresh the dashboard, ALL of the sorts on the dashboard change to this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;....
| chart sum(FREE_GB) sum(USED_GB) over TS_NAME
| sort 10-num("sum(USED_GB)")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Notice the space has been removed between "10 -num(..."&lt;/P&gt;

&lt;P&gt;How do I stop this from happening? Is this just a bug in Splunk or is there something wrong with my syntax?? &lt;BR /&gt;
Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:25:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300423#M19080</guid>
      <dc:creator>twmoffit</dc:creator>
      <dc:date>2017-07-10T19:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300424#M19081</link>
      <description>&lt;P&gt;What version of Splunk are you running and what browser?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300424#M19081</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-07-10T19:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300425#M19082</link>
      <description>&lt;P&gt;Can you try like this? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;....
 | chart sum(FREE_GB) as sum_FREE_GB sum(USED_GB) as sum_USED_GB by TS_NAME
 | sort 10 -num(sum_USED_GB)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR just&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;....
 | chart sum(FREE_GB) as sum_FREE_GB sum(USED_GB) as sum_USED_GB by TS_NAME
 | sort 10 -sum_USED_GB
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:57:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300425#M19082</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-10T19:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300426#M19083</link>
      <description>&lt;P&gt;@twmoffit, we had noticed this issue with Internet Explorer (IE), however, the same worked fine with Chrome. Can you try that?&lt;/P&gt;

&lt;P&gt;This seemed like a bug with IE.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 04:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300426#M19083</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-11T04:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300427#M19084</link>
      <description>&lt;P&gt;This is a bug, fixed in 6.5.4 (see discussion here: &lt;A href="https://answers.splunk.com/answers/547674/splunk-bug-fields-command.html"&gt;https://answers.splunk.com/answers/547674/splunk-bug-fields-command.html&lt;/A&gt;) &lt;/P&gt;

&lt;P&gt;See SPL-140551, SPL-140828, SPL-140807 in fixed issues here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.4/ReleaseNotes/6.5.4"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.4/ReleaseNotes/6.5.4&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;After upgrading I recommend you run the following command so you can identify any affected dashboards and fix them on the filesystem. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;find $SPLUNK_HOME/etc/users $SPLUNK_HOME/etc/apps -type f -name '*.xml' -exec grep -lr 'sort-\|fields-' {} +
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300427#M19084</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2017-07-11T09:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300428#M19085</link>
      <description>&lt;P&gt;Changing and saving the search in Chrome seemed to have fixed the problem for now. I hope this gets patched at some point soon though.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 13:52:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300428#M19085</guid>
      <dc:creator>twmoffit</dc:creator>
      <dc:date>2017-07-11T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300429#M19086</link>
      <description>&lt;P&gt;It has been patched (see below) However you will need to manually fix affected boards. &lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 13:59:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300429#M19086</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2017-07-11T13:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the sort function not saving properly in dashboard panels?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300430#M19087</link>
      <description>&lt;P&gt;@twmoffit, did you check out, @jplumsdaine22 's answer that this bug has already been fixed in 6.5.4. If you are using 6.5.4 or later and still observe the issue you should report the same to Splunk Support through your Entitlement. Kindly upvote if this work-around has helped.&lt;/P&gt;

&lt;P&gt;Also if you can upgrade to 6.5.4 or later then test and accept jplumsdaine22's answer.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 14:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-sort-function-not-saving-properly-in-dashboard-panels/m-p/300430#M19087</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-11T14:03:43Z</dc:date>
    </item>
  </channel>
</rss>

