Aggregations bucket group


(Avneet Singh) #1

Hello,
I want to make one bucket of bridge ids from various documents.please tell me how can i do it. some are shown below:
{
"_index": "cdrs",
"_type": "logs",
"_id": "14",
"_score": 1,
"_source": {
"billing_seconds": 18,
"bridge_id": "1bc4c557-e95d-1235-fca6-a3ca63d6363f",
"callee_id_name": "",
"callee_id_number": "",
"caller_id_name": 919915346686,
"caller_id_number": 919915346686,
"dialed_number": 911723810009,
"direction": "inbound",
"duration_seconds": 20,
"hangup_cause": "NORMAL_CLEARING"
}
},
{
"_index": "cdrs",
"_type": "logs",
"_id": "5",
"_score": 1,
"_source": {
"billing_seconds": 0,
"bridge_id": "114fac12-e95e-1235-fca6-a3ca63d6363f",
"callee_id_name": 9915319237,
"callee_id_number": 9915319237,
"caller_id_name": 919915346686,
"caller_id_number": 911723810009,
"dialed_number": 9915319237,
"direction": "outbound",
"duration_seconds": 19,
"hangup_cause": "ORIGINATOR_CANCEL"
}
},
Thanks


(Felix Stürmer) #2

Hi @Avneet_Singh,

do you want to create a visualization with the bridge_ids as categories on the x-axis? If so, what should be the y-axis metric?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.