Refine your search:

Is there an example of the correct xml syntax to use to define a bubble chart in a dashboard? I cannot find one in the manuals.

asked 31 May '11, 05:43

raoul's gravatar image

raoul
13715
accept rate: 100%


One Answer:

Managed to puzzle it out, here is my example:

    <chart>
      <searchString>
sourcetype="transactions"  
  | bucket _time span=1h
  | stats count(eval(Rsp!="00")) as declines, count by _time, Region
  | eval pct=round((declines/count) * 100, 2)
  | table Region, _time, pct, declines
      </searchString>
      <title>Percentage declines by Region, last 48h</title>
      <earliestTime>-48h@h</earliestTime>
      <latestTime>now</latestTime>
      <option name="charting.chart">bubble</option>
    </chart>
link

answered 31 May '11, 06:05

raoul's gravatar image

raoul
13715
accept rate: 100%

edited 01 Jun '11, 01:23

<chart> <searchstring> sourcetype="E:\New Folder\voice_cdr_1mil.csv" NOT "CallingCellID" TerminationReason!=1 | |bucket TimeStamp span=5h| eval Base_Transceiver_Station_Code=substr(CallingCellID,11,4) | join Base_Transceiver_Station_Code [search source="E:\New Folder\BTS_Information2.txt"] | table TERRITORY,TimeStamp,TerminationReason </searchstring> <option name="charting.chart">bubble</option> </chart>

i am joining two files here and the result i need as bubble chart but i am not getting any output .. is this code is correct? please help me out

(27 Feb, 22:51) renuka13
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×252
×4

Asked: 31 May '11, 05:43

Seen: 1,733 times

Last updated: 27 Feb, 22:51

Copyright © 2005-2012 Splunk Inc. All rights reserved.