<?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 visualize my sample data in a bubble chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227475#M67171</link>
    <description>&lt;P&gt;I want to show the below data in Bubble chart:&lt;/P&gt;

&lt;P&gt;Data1  $1000&lt;BR /&gt;
Data2  $10000&lt;BR /&gt;
Data3  $100000&lt;BR /&gt;
Data4  $1000000&lt;/P&gt;

&lt;P&gt;With this, I need 4 bubbles with a bigger bubble for Data4 showing the amount and Data4 inside the bubble, and others with the sizes based on the $ amount accordingly.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Nov 2016 23:49:12 GMT</pubDate>
    <dc:creator>ravitejaj</dc:creator>
    <dc:date>2016-11-13T23:49:12Z</dc:date>
    <item>
      <title>How do I visualize my sample data in a bubble chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227475#M67171</link>
      <description>&lt;P&gt;I want to show the below data in Bubble chart:&lt;/P&gt;

&lt;P&gt;Data1  $1000&lt;BR /&gt;
Data2  $10000&lt;BR /&gt;
Data3  $100000&lt;BR /&gt;
Data4  $1000000&lt;/P&gt;

&lt;P&gt;With this, I need 4 bubbles with a bigger bubble for Data4 showing the amount and Data4 inside the bubble, and others with the sizes based on the $ amount accordingly.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 23:49:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227475#M67171</guid>
      <dc:creator>ravitejaj</dc:creator>
      <dc:date>2016-11-13T23:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I visualize my sample data in a bubble chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227476#M67172</link>
      <description>&lt;P&gt;If the data and values are already cumulative in fields data and value,  where &lt;CODE&gt;data&lt;/CODE&gt; represents &lt;CODE&gt;Data1, Data2, Data3, Data4&lt;/CODE&gt; and &lt;CODE&gt;value&lt;/CODE&gt; represents &lt;CODE&gt;$1000, $10000, $100000, $1000000&lt;/CODE&gt; can you try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your query to return the data and value as they appear in example
| table data, value 
| eventstats sum(value) as totalcount
| chart max(value) as value, first(totalcount) as totalcount by data
| eval percentage=value*100/totalcount
| table data, value, percentage
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Choose the bubblechart from visualization and it should work taking percentage as the size of the bubble.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 03:07:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227476#M67172</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-11-14T03:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I visualize my sample data in a bubble chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227477#M67173</link>
      <description>&lt;P&gt;Can I know the xml code for this view?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 04:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227477#M67173</guid>
      <dc:creator>ravitejaj</dc:creator>
      <dc:date>2016-11-14T04:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I visualize my sample data in a bubble chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227478#M67174</link>
      <description>&lt;P&gt;Based on your data above it seemed you wanted a query which can give you data as such that you can plot the bubble chart. So I gave the query which will tabulate the data in a format on which you can choose "bubble chart" as a visualization option from "Visualzation" tab after running the search query.&lt;/P&gt;

&lt;P&gt;If you require the xml code which comes after saving this search query as an xml panel, then here it is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;bubbleChart&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;your query to return the data and value as they appear in example | table data, value | eventstats sum(value) as totalcount| chart max(value) as value,first(totalcount) as totalcount by data| eval percentage=value*100/totalcount| table data, value, percentage&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;bubble&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Nov 2016 04:43:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-visualize-my-sample-data-in-a-bubble-chart/m-p/227478#M67174</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-11-14T04:43:32Z</dc:date>
    </item>
  </channel>
</rss>

