Grouped country wise channel id in first index the next index having each row in channel id i want to sum the next index record but i dont know how to use

{

"aggs" : {
    "country_groups" : {
        "terms" : { "field" : "country.keyword",
        		"size":30000
        },
        "aggs": {
            "channel_ids": {
                "terms": { "field" : "channel_id.keyword", 
                		"size":30000
                }
            }
        }
    }
}

}

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