我正在尝试用以下代码在splunk中创建气泡图。
<dashboard>
<label>Bubble Chart</label>
<row>
<panel>
<chart>
<searchString>index = _internal sourcetype=splunkd_access | stats count sum(bytes) as "Total Bytes" by status, date_hour | table status date_hour count "Total Bytes"</searchString>
<earliestTime>-7d</earliestTime>
<latestTime>now</latestTime>
<option name="charting.axisY.scale">log</option>
<option name="charting.chart">bubble</option>
<option name="charting.chart.bubbleMaximumSize">50</option>
<option name="charting.chart.bubbleMinimumSize">10</option>
<option name="charting.chart.bubbleSizeBy">area</option>
<option name="charting.axisTitleY.text">Requests</option>
<option name="charting.axisTitleX.text">Hour</option>
</chart>
<html>
<p>Bubble Chart Options:</p>
<code style="white-space: pre-wrap;"><![CDATA[<option name="charting.chart.bubbleMaximumSize">50</option>
<option name="charting.chart.bubbleMinimumSize">10</option>
<option name="charting.chart.bubbleSizeBy">area</option>]]></code>
</html>
</panel>
</row>
</dashboard>但结果是我得到的是柱状图,而不是气泡图。
我好像做错了什么,遗漏了一些包。可能的问题是什么?
发布于 2015-08-05 22:49:13
我在我的Splunk(6.3)中尝试了你的simplexml,结果是气泡图。所以也许你的Splunk版本太低了?

https://stackoverflow.com/questions/31283920
复制相似问题