<?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 Creating a stacked bar chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-stacked-bar-chart/m-p/311600#M162749</link>
    <description>&lt;P&gt;I feel silly asking this question as I think it should be relatively straight forward, but I am not able to get the following search query into a dashboard to display as a stacked bar chart.&lt;/P&gt;

&lt;P&gt;I have a search that produces the following table output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Status                    TotalCount
Ready                     800
Not Ready                 200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I would like is to display this a stacked barchart 1000 units long with Ready 800 of them and the Not Ready the remaining 200.&lt;/P&gt;

&lt;P&gt;Could someone point me in the right direction?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Matt &lt;/P&gt;</description>
    <pubDate>Sat, 24 Feb 2018 21:57:29 GMT</pubDate>
    <dc:creator>BearMormont</dc:creator>
    <dc:date>2018-02-24T21:57:29Z</dc:date>
    <item>
      <title>Creating a stacked bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-stacked-bar-chart/m-p/311600#M162749</link>
      <description>&lt;P&gt;I feel silly asking this question as I think it should be relatively straight forward, but I am not able to get the following search query into a dashboard to display as a stacked bar chart.&lt;/P&gt;

&lt;P&gt;I have a search that produces the following table output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Status                    TotalCount
Ready                     800
Not Ready                 200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I would like is to display this a stacked barchart 1000 units long with Ready 800 of them and the Not Ready the remaining 200.&lt;/P&gt;

&lt;P&gt;Could someone point me in the right direction?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Matt &lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 21:57:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-stacked-bar-chart/m-p/311600#M162749</guid>
      <dc:creator>BearMormont</dc:creator>
      <dc:date>2018-02-24T21:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-stacked-bar-chart/m-p/311601#M162750</link>
      <description>&lt;P&gt;Stacked bar charts expect a two-dimensional table, not just a one-dimensional list: One dimension for the x-axis, another dimension for the colour-axis.&lt;/P&gt;

&lt;P&gt;To turn your list into such a table, you'll need to create a single-valued dummy dimension and then rotate the table like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval Value = "Count by Status" | xyseries Value Status TotalCount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Depending on how you generated your list, you might be able to change that search to directly come up with a result that looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Value              NotReady     Ready
Count by Status         200       800
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Feb 2018 23:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-stacked-bar-chart/m-p/311601#M162750</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-02-24T23:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-stacked-bar-chart/m-p/311602#M162751</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Worked great.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 23:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-stacked-bar-chart/m-p/311602#M162751</guid>
      <dc:creator>BearMormont</dc:creator>
      <dc:date>2018-02-24T23:38:24Z</dc:date>
    </item>
  </channel>
</rss>

