<?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: Bubble Charts input data structure [lacking documentation] in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94622#M24421</link>
    <description>&lt;P&gt;I've consulted Splunk's expert on chart visualization issues and as it turns out when you've selected the "bubble" chart type in simple XML, Splunk will by default expect the y-axis to be a numeric value. This is (probably) why you're running into trouble. &lt;/P&gt;

&lt;P&gt;You should be able to override this by changing the y-axis parameter in the simple XML for the chart. Try adding this line to the bubble chart XML and see if it doesn't solve your problem:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.axisY"&amp;gt;category&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If it does I'll get the docs updated so they make this issue more clear.&lt;/P&gt;

&lt;P&gt;(Note: The use of "category" here is not a reference to your "category" field, but rather an indication that you want the y-axis to display categorical values--strings, as opposed to numbers or timestamps. For more info see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/CustomChartingConfig-AxisGrid#Axis"&gt;the topic on charting library axis parameters&lt;/A&gt;.)&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jul 2012 18:56:27 GMT</pubDate>
    <dc:creator>mattness</dc:creator>
    <dc:date>2012-07-10T18:56:27Z</dc:date>
    <item>
      <title>Bubble Charts input data structure [lacking documentation]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94620#M24419</link>
      <description>&lt;P&gt;From &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/CustomChartingConfig-ChartLegend#bubblechart" title="bubblechart"&gt;the latest docs&lt;/A&gt;, this is the simplest prerequisite to build a bubble chart,&lt;/P&gt;

&lt;P&gt;"1. A single series structure that contains 3 columns. The first column (column 0) contains the values to be plotted on the x-axis. The second column (column 1) contains the values to be plotted on the y-axis. And the third column (column 2) contains the values to be plotted on the z-axis."&lt;/P&gt;

&lt;P&gt;then why does the bubble chart fail to draw anything&lt;BR /&gt;&lt;BR /&gt;
(it originally was charting some nonsense bubbles when I was incorrectly feeding the _time field to the y axis)&lt;BR /&gt;&lt;BR /&gt;
when I build a search which feeds it the following table?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time category count
7/4/12 1:00:00.291 PM TIMEOUT 10
7/4/12 4:00:00.294 PM HIT_MAX_REQ_LIMIT 3
7/4/12 1:00:00.296 PM ORA_EXCEPTIONS 1
7/4/12 4:00:00.296 PM ORA_EXCEPTIONS 0
7/4/12 1:00:00.300 PM HIT_MAX_REQ_LIMIT 2
7/4/12 4:00:00.291 PM HIT_MAX_REQ_LIMIT 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is my simple XML content,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;option name="charting.chart"&amp;gt;bubble&amp;lt;/option&amp;gt;
  &amp;lt;earliestTime&amp;gt;-48h@h&amp;lt;/earliestTime&amp;gt;
  &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How should I use them ?&lt;BR /&gt;&lt;BR /&gt;
Splunk devs, please further improve the bubble charts documentation with an example.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2012 15:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94620#M24419</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2012-07-10T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Charts input data structure [lacking documentation]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94621#M24420</link>
      <description>&lt;P&gt;For the record,&lt;BR /&gt;
this doubt is related to my initial question,&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/52300/search-generate-a-time-causes-count-collums-table"&gt;http://splunk-base.splunk.com/answers/52300/search-generate-a-time-causes-count-collums-table&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2012 15:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94621#M24420</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2012-07-10T15:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Charts input data structure [lacking documentation]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94622#M24421</link>
      <description>&lt;P&gt;I've consulted Splunk's expert on chart visualization issues and as it turns out when you've selected the "bubble" chart type in simple XML, Splunk will by default expect the y-axis to be a numeric value. This is (probably) why you're running into trouble. &lt;/P&gt;

&lt;P&gt;You should be able to override this by changing the y-axis parameter in the simple XML for the chart. Try adding this line to the bubble chart XML and see if it doesn't solve your problem:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.axisY"&amp;gt;category&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If it does I'll get the docs updated so they make this issue more clear.&lt;/P&gt;

&lt;P&gt;(Note: The use of "category" here is not a reference to your "category" field, but rather an indication that you want the y-axis to display categorical values--strings, as opposed to numbers or timestamps. For more info see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/CustomChartingConfig-AxisGrid#Axis"&gt;the topic on charting library axis parameters&lt;/A&gt;.)&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2012 18:56:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94622#M24421</guid>
      <dc:creator>mattness</dc:creator>
      <dc:date>2012-07-10T18:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Charts input data structure [lacking documentation]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94623#M24422</link>
      <description>&lt;P&gt;I do appreciate it. Thank you.&lt;BR /&gt;
I will try it tomorrow as soon as I arrive to work.&lt;/P&gt;

&lt;P&gt;Could you please take a look in my initial question &lt;A href="http://splunk-base.splunk.com/answers/52300/search-generate-a-time-causes-count-collums-table"&gt;http://splunk-base.splunk.com/answers/52300/search-generate-a-time-causes-count-collums-table&lt;/A&gt; and clarify if I indeed need to transform the data (or if there is a simpler way) into the aforementioned table ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2012 21:38:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94623#M24422</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2012-07-10T21:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Charts input data structure [lacking documentation]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94624#M24423</link>
      <description>&lt;P&gt;mattness,&lt;BR /&gt;
    category&lt;BR /&gt;
did indeed get the bubble chart closer to what I need.&lt;BR /&gt;
&lt;A href="https://dl.dropbox.com/u/927023/bubble2.PNG"&gt;https://dl.dropbox.com/u/927023/bubble2.PNG&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;However, why are all the bubbles the same color (when there are several diferent y axis metrics)?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 14:07:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94624#M24423</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2012-07-11T14:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Charts input data structure [lacking documentation]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94625#M24424</link>
      <description>&lt;P&gt;Also,&lt;BR /&gt;
I expected a bubble to not be charted when the y axis value has a corresponding z axis 0 value.&lt;BR /&gt;
I tried both the following lines but the 0 value bubbles kept being drawn,&lt;BR /&gt;
    0&lt;BR /&gt;
    false&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 14:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94625#M24424</guid>
      <dc:creator>splunk_zen</dc:creator>
      <dc:date>2012-07-11T14:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Charts input data structure [lacking documentation]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94626#M24425</link>
      <description>&lt;P&gt;The bubbles are the same color because you've set this up as a single series bubble chart. To get different colors, you'd need to configure the chart to handle multiple series. This would utilize a four-column table, where the first column would be the series (in your case, most likely the "category" field), and then the other three would be the x, y, and z axes respectively. &lt;/P&gt;

&lt;P&gt;I'll look into the zero value issue.&lt;/P&gt;

&lt;P&gt;Have you considered going with a stacked column chart instead? It seems like that would do a better job of expressing what you're trying to express here.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 17:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bubble-Charts-input-data-structure-lacking-documentation/m-p/94626#M24425</guid>
      <dc:creator>mattness</dc:creator>
      <dc:date>2012-07-11T17:22:58Z</dc:date>
    </item>
  </channel>
</rss>

