<?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: Bar chart with non-numeric data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90751#M23307</link>
    <description>&lt;P&gt;Try&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
... | chart dc(Results) over ID by Results&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;
and make it a stacked bar graph.  You may have to set limit=X to see everything if you have a lot of values.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2013 15:08:58 GMT</pubDate>
    <dc:creator>cphair</dc:creator>
    <dc:date>2013-01-17T15:08:58Z</dc:date>
    <item>
      <title>Bar chart with non-numeric data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90748#M23304</link>
      <description>&lt;P&gt;I'm looking to create a grouped bar chart from data in the following format:&lt;BR /&gt;&lt;BR /&gt;
  ----  ID  Results&lt;BR /&gt;&lt;BR /&gt;
1: AAA, B321&lt;BR /&gt;&lt;BR /&gt;
2: AAA, A918&lt;BR /&gt;&lt;BR /&gt;
3: AAA, C391&lt;BR /&gt;&lt;BR /&gt;
4: BBB, A918&lt;BR /&gt;&lt;BR /&gt;
5: BBB, C391&lt;BR /&gt;&lt;BR /&gt;
6: CCC, B321&lt;BR /&gt;&lt;BR /&gt;
7: CCC, A918  &lt;/P&gt;

&lt;P&gt;Essentially I would like to easily visualize which ID has the same results. My idea is to have a bar chart with the IDs listed along the 'X' and then above each ID a 1 unit stacked colour bar representing a result. &lt;/P&gt;

&lt;P&gt;If I run a search for:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Results=* | chart Values(Result) by ID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get the table shown below but the graph view is just axis.&lt;/P&gt;

&lt;P&gt;ID  ---------Results&lt;BR /&gt;&lt;BR /&gt;
AAA---------B321, A918, C391&lt;BR /&gt;&lt;BR /&gt;
BBB---------A918, C391&lt;BR /&gt;&lt;BR /&gt;
CCC---------B321, A918,  &lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 13:09:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90748#M23304</guid>
      <dc:creator>b1388035</dc:creator>
      <dc:date>2013-01-17T13:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart with non-numeric data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90749#M23305</link>
      <description>&lt;P&gt;I'm not certain that you are providing the source data.  It appears you're providing what splunk gives you when you run the search string you've listed.  We need the source data that you're running the search string on in order to help you.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:15:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90749#M23305</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2013-01-17T14:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart with non-numeric data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90750#M23306</link>
      <description>&lt;P&gt;The source data is something like:&lt;BR /&gt;
1: AAA, B321&lt;BR /&gt;
2: AAA, A918&lt;BR /&gt;
3: AAA, C391&lt;BR /&gt;
4: BBB, A918&lt;BR /&gt;
5: BBB, C391&lt;BR /&gt;
6: CCC, B321&lt;BR /&gt;
7: CCC, A918&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90750#M23306</guid>
      <dc:creator>b1388035</dc:creator>
      <dc:date>2013-01-17T14:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart with non-numeric data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90751#M23307</link>
      <description>&lt;P&gt;Try&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
... | chart dc(Results) over ID by Results&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;
and make it a stacked bar graph.  You may have to set limit=X to see everything if you have a lot of values.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 15:08:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bar-chart-with-non-numeric-data/m-p/90751#M23307</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2013-01-17T15:08:58Z</dc:date>
    </item>
  </channel>
</rss>

