I getthis field in the query results. Can I see an example of how to use this in a pie chart? JSON input? Scripted field?
--
"aggregations": {
"2": {
"doc_count_error_upper_bound": 520,
"sum_other_doc_count": 146846,
"buckets": [
{
"key": "10.8.21.9",
"doc_count": 14690
},