<?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 Ordering Chart's Bars in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Ordering-Chart-s-Bars/m-p/326062#M40012</link>
    <description>&lt;P&gt;I'm charting disk space. Per host my chart has two bars that represent the instance (c: and d:). There is a space between each set that is like a visual delimiter for hosts. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os host="host1" OR host="host2" OR host="host3" object="LogicalDisk" counter="% Free Space" instance ="C:" OR instance ="D:" 
| eval percent_used=100-Value 
| chart latest(percent_used) by host, instance
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I make the chart display a specified static order of hosts (pair of bars)?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 16:14:40 GMT</pubDate>
    <dc:creator>jsven7</dc:creator>
    <dc:date>2018-01-24T16:14:40Z</dc:date>
    <item>
      <title>Ordering Chart's Bars</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Ordering-Chart-s-Bars/m-p/326062#M40012</link>
      <description>&lt;P&gt;I'm charting disk space. Per host my chart has two bars that represent the instance (c: and d:). There is a space between each set that is like a visual delimiter for hosts. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os host="host1" OR host="host2" OR host="host3" object="LogicalDisk" counter="% Free Space" instance ="C:" OR instance ="D:" 
| eval percent_used=100-Value 
| chart latest(percent_used) by host, instance
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I make the chart display a specified static order of hosts (pair of bars)?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:14:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Ordering-Chart-s-Bars/m-p/326062#M40012</guid>
      <dc:creator>jsven7</dc:creator>
      <dc:date>2018-01-24T16:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Chart's Bars</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Ordering-Chart-s-Bars/m-p/326063#M40013</link>
      <description>&lt;P&gt;hey &lt;/P&gt;

&lt;P&gt;have you tried looking at the visualisation for  &lt;CODE&gt;| chart latest(percent_used) over host by instance&lt;/CODE&gt;&lt;BR /&gt;
Also try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=os host="host1" OR host="host2" OR host="host3" object="LogicalDisk" counter="% Free Space" instance ="C:" OR instance ="D:" 
 | eval percent_used=100-Value 
 | stats  latest(percent_used) by host, instance | eval host=host." ".instance | fields- intance
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Ordering-Chart-s-Bars/m-p/326063#M40013</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-24T16:54:11Z</dc:date>
    </item>
  </channel>
</rss>

