<?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 How do I create a stacked bar chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147841#M41333</link>
    <description>&lt;P&gt;I have 3 servers: host=host1, host2, and host3&lt;BR /&gt;
From these servers I get s_status=ok, nok&lt;/P&gt;

&lt;P&gt;I would like to get a graph where I get number of &lt;STRONG&gt;ok&lt;/STRONG&gt; from all three servers in one column with servers listed with different colors in the same column. &lt;/P&gt;

&lt;P&gt;Eks (Selecting Column as display format)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;s_status=ok | timechart count by s_status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gives me each a column with the sum of all three servers (correct number, but missing the color of each server)&lt;/P&gt;

&lt;P&gt;Then I try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;s_status=ok | timechart count by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gives me the three servers side by side with different colors.  &lt;/P&gt;

&lt;P&gt;I want them stacked with each server in the same column, but different colors and size depending on the number of &lt;STRONG&gt;ok&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Maybe I need to use &lt;STRONG&gt;chart&lt;/STRONG&gt; instead of &lt;STRONG&gt;timechart&lt;/STRONG&gt;, but I do not know how to put it together.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2015 07:59:11 GMT</pubDate>
    <dc:creator>lakromani</dc:creator>
    <dc:date>2015-07-30T07:59:11Z</dc:date>
    <item>
      <title>How do I create a stacked bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147841#M41333</link>
      <description>&lt;P&gt;I have 3 servers: host=host1, host2, and host3&lt;BR /&gt;
From these servers I get s_status=ok, nok&lt;/P&gt;

&lt;P&gt;I would like to get a graph where I get number of &lt;STRONG&gt;ok&lt;/STRONG&gt; from all three servers in one column with servers listed with different colors in the same column. &lt;/P&gt;

&lt;P&gt;Eks (Selecting Column as display format)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;s_status=ok | timechart count by s_status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gives me each a column with the sum of all three servers (correct number, but missing the color of each server)&lt;/P&gt;

&lt;P&gt;Then I try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;s_status=ok | timechart count by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gives me the three servers side by side with different colors.  &lt;/P&gt;

&lt;P&gt;I want them stacked with each server in the same column, but different colors and size depending on the number of &lt;STRONG&gt;ok&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Maybe I need to use &lt;STRONG&gt;chart&lt;/STRONG&gt; instead of &lt;STRONG&gt;timechart&lt;/STRONG&gt;, but I do not know how to put it together.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 07:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147841#M41333</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2015-07-30T07:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a stacked bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147842#M41334</link>
      <description>&lt;P&gt;When you're on the visualizations tag (you can see the graph), look for the formatting options, there's an option to stack there.&lt;BR /&gt;
I'd say you're better to go with your first option though, that way you can have your 'ok's stacked as blue, and your 'nok's stacked as red.... which is more alarming to see than a gap in blue&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 08:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147842#M41334</guid>
      <dc:creator>pwmcity</dc:creator>
      <dc:date>2015-07-30T08:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a stacked bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147843#M41335</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;to get them stacked: Stacked is a format option of the column chart:&lt;/P&gt;

&lt;P&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/519iC398871066F66B72/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;Is your search &lt;CODE&gt;s_status=ok | timechart count by host&lt;/CODE&gt; in addition to the stacked option what you wanted? Or do you need something else?&lt;/P&gt;

&lt;P&gt;Greetings Tom&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 08:30:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147843#M41335</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2015-07-30T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a stacked bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147844#M41336</link>
      <description>&lt;P&gt;Thanks, so simple.  I have overclocked the stack mode in Format tab ....&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 08:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147844#M41336</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2015-07-30T08:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a stacked bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147845#M41337</link>
      <description>&lt;P&gt;Hi lakromani, &lt;/P&gt;

&lt;P&gt;there is a dropdown menu with some format options for your visualization. &lt;/P&gt;

&lt;P&gt;If you click &lt;CODE&gt; Format -&amp;gt; Genereal -&amp;gt; Stack Mode: stacked &lt;/CODE&gt; its might be what you are looking for. &lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 08:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147845#M41337</guid>
      <dc:creator>hgrow</dc:creator>
      <dc:date>2015-07-30T08:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a stacked bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147846#M41338</link>
      <description>&lt;P&gt;You are correct, just as pwmcity implied to. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 08:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147846#M41338</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2015-07-30T08:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a stacked bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147847#M41339</link>
      <description>&lt;P&gt;Thanks, just as pwmcity answered, but yours are more visual &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 08:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-stacked-bar-chart/m-p/147847#M41339</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2015-07-30T08:39:03Z</dc:date>
    </item>
  </channel>
</rss>

