Index: ARMS/metricbeatReqTemplate.js =================================================================== diff -u -r8103d2e179ec2b16a733b98a950915f05788d767 -r6b114df37f6a912128f7150da3bd8fe4abca3d2a --- ARMS/metricbeatReqTemplate.js (.../metricbeatReqTemplate.js) (revision 8103d2e179ec2b16a733b98a950915f05788d767) +++ ARMS/metricbeatReqTemplate.js (.../metricbeatReqTemplate.js) (revision 6b114df37f6a912128f7150da3bd8fe4abca3d2a) @@ -67,16 +67,12 @@ console.log("metricbeat response data = " + JSON.stringify(data)); var chartLabels = []; var chartData1 = []; - var chartData3 = []; - var chartData4 = []; var filteredObj = data.aggregations[2].buckets; $.each(filteredObj, function(inx, obj){ chartLabels.push(obj.key_as_string); chartData1.push(obj[1].value); - chartData3.push(obj[3].value); - chartData4.push(obj[4].value); }); var config = { @@ -87,14 +83,6 @@ label: 'cpu.total.pct', data: chartData1, backgroundColor: 'rgba(0, 119, 204, 0.3)' - },{ - label: 'cpu.system.pct', - data: chartData3, - backgroundColor: 'rgba(0, 119, 204, 0.3)' - },{ - label: 'cpu.user.pct', - data: chartData4, - backgroundColor: 'rgba(0, 119, 204, 0.3)' }] } } Index: ARMS/metricbeatReqTemplate.json =================================================================== diff -u -r34cc3bc5d1b370fd5941aefea031b3a58b29c8bd -r6b114df37f6a912128f7150da3bd8fe4abca3d2a --- ARMS/metricbeatReqTemplate.json (.../metricbeatReqTemplate.json) (revision 34cc3bc5d1b370fd5941aefea031b3a58b29c8bd) +++ ARMS/metricbeatReqTemplate.json (.../metricbeatReqTemplate.json) (revision 6b114df37f6a912128f7150da3bd8fe4abca3d2a) @@ -12,16 +12,6 @@ "max": { "field": "system.cpu.total.pct" } - }, - "3": { - "max": { - "field": "system.cpu.system.pct" - } - }, - "4": { - "max": { - "field": "system.cpu.user.pct" - } } } }