<?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 stacked bar chart of sum of errorcodes by server in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/stacked-bar-chart-of-sum-of-errorcodes-by-server/m-p/322057#M96216</link>
    <description>&lt;P&gt;I'm trying to create 1 bar chart to kill 2 views, my search is as follows;&lt;/P&gt;

&lt;P&gt;sourcetype="error log" severity=ERROR | top limit=10 error_code by host&lt;/P&gt;

&lt;P&gt;and yields &lt;BR /&gt;
host    error_code  count&lt;BR /&gt;
app1    code0001    300&lt;BR /&gt;
app1    code0002    171&lt;BR /&gt;
app1    code0003    145&lt;BR /&gt;
app2    code0001    546&lt;BR /&gt;
app2    code0002    197&lt;BR /&gt;
app2    code0003    146&lt;BR /&gt;
app3    code0001    412&lt;BR /&gt;
app3    code0002    168&lt;BR /&gt;
app3    code0003    149&lt;/P&gt;

&lt;P&gt;i am looking for a simple bar chart of error_code on Y-axis and count on X-axis however, the x-axis should be stacked so that i can see code001 broken down/chunked out into 3 sections of host#&lt;/P&gt;

&lt;P&gt;please help&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2017 17:41:56 GMT</pubDate>
    <dc:creator>eddychuah</dc:creator>
    <dc:date>2017-10-20T17:41:56Z</dc:date>
    <item>
      <title>stacked bar chart of sum of errorcodes by server</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stacked-bar-chart-of-sum-of-errorcodes-by-server/m-p/322057#M96216</link>
      <description>&lt;P&gt;I'm trying to create 1 bar chart to kill 2 views, my search is as follows;&lt;/P&gt;

&lt;P&gt;sourcetype="error log" severity=ERROR | top limit=10 error_code by host&lt;/P&gt;

&lt;P&gt;and yields &lt;BR /&gt;
host    error_code  count&lt;BR /&gt;
app1    code0001    300&lt;BR /&gt;
app1    code0002    171&lt;BR /&gt;
app1    code0003    145&lt;BR /&gt;
app2    code0001    546&lt;BR /&gt;
app2    code0002    197&lt;BR /&gt;
app2    code0003    146&lt;BR /&gt;
app3    code0001    412&lt;BR /&gt;
app3    code0002    168&lt;BR /&gt;
app3    code0003    149&lt;/P&gt;

&lt;P&gt;i am looking for a simple bar chart of error_code on Y-axis and count on X-axis however, the x-axis should be stacked so that i can see code001 broken down/chunked out into 3 sections of host#&lt;/P&gt;

&lt;P&gt;please help&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 17:41:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stacked-bar-chart-of-sum-of-errorcodes-by-server/m-p/322057#M96216</guid>
      <dc:creator>eddychuah</dc:creator>
      <dc:date>2017-10-20T17:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart of sum of errorcodes by server</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stacked-bar-chart-of-sum-of-errorcodes-by-server/m-p/322058#M96217</link>
      <description>&lt;P&gt;I think this should do the trick:&lt;BR /&gt;
&lt;CODE&gt;| chart values(count) AS count BY error_code host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Make sure your visualization is set to stacked mode (under Format).&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 20:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stacked-bar-chart-of-sum-of-errorcodes-by-server/m-p/322058#M96217</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2017-10-20T20:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart of sum of errorcodes by server</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stacked-bar-chart-of-sum-of-errorcodes-by-server/m-p/322059#M96218</link>
      <description>&lt;P&gt;thank you!!! works as intended!&lt;/P&gt;

&lt;P&gt;am still trying to learn all the splunk graphing command fundamentals ^^&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 13:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stacked-bar-chart-of-sum-of-errorcodes-by-server/m-p/322059#M96218</guid>
      <dc:creator>eddychuah</dc:creator>
      <dc:date>2017-10-23T13:21:15Z</dc:date>
    </item>
  </channel>
</rss>

