- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Display the values on pie slice in pie chart
navd
New Member
01-30-2018
01:33 PM
I wanted to show the field values in each slice of pie .Now I have value shown only by hovering on each slice
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

mayurr98
Super Champion
01-30-2018
11:30 PM
hey @navd
Try this run anywhere XML and take it as a reference to build yours.
<dashboard>
<label>Test</label>
<row>
<panel>
<chart>
<search>
<query>index=_internal
| stats count by log_level
| eval log_level=log_level." , ".count</query>
<earliest>-15m</earliest>
<latest>now</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.drilldown">none</option>
</chart>
</panel>
</row>
</dashboard>
let me know if this helps!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
abulco01
Explorer
02-09-2019
03:56 PM
This is really clever! Thank you!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

niketn
Legend
01-30-2018
02:19 PM
I have updated my answer https://answers.splunk.com/answers/614524/how-to-create-a-piechart-with-two-value-fields.html
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
| makeresults | eval message= "Happy Splunking!!!"
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

somesoni2
Revered Legend
01-30-2018
02:07 PM
Try like this
your current search, which include aggregation commands like ..| stats count as valueField by someField
| eval someField=someField." (".valueField.")"
