var res = [{
Channel: 3,
file_name: "1111",
id: 1,
time_start: "1111",
time_end: "1111",
}, {
Channel: 2,
file_name: "2222",
id: 2,
time_start: "2222",
time_end: "2222",
}, {
Channel: 2,
file_name: "3333",
id: 3,
time_start: "3333",
time_end: "3333",
}];
var groupedData = _.groupBy(res, function(d){return d. Channel});
console.log(groupedData);