From 90b45930e03eec37b4119bc7ef4e4551e635cbd1 Mon Sep 17 00:00:00 2001 From: Bharat Mukheja Date: Mon, 19 Nov 2018 14:37:13 -0800 Subject: [PATCH 1/6] Separated dashboard for top talkers, converted alarms widget to text graph --- public/configurations/dashboards/aarNSG.json | 12 ++-- .../dashboards/aarNSGTopTalkers.json | 55 +++++++++++++++++++ ...r-enterprise-geomap-text-notactivated.json | 1 - .../aar-nsg-alarm-count-critical.json | 22 -------- .../aar-nsg-alarm-count-major.json | 21 ------- .../aar-nsg-alarm-count-minor.json | 21 ------- .../visualizations/aar-nsg-alarm-text.json | 34 ++++++++++++ 7 files changed, 94 insertions(+), 72 deletions(-) create mode 100644 public/configurations/dashboards/aarNSGTopTalkers.json delete mode 100644 public/configurations/visualizations/aar-nsg-alarm-count-critical.json delete mode 100644 public/configurations/visualizations/aar-nsg-alarm-count-major.json delete mode 100644 public/configurations/visualizations/aar-nsg-alarm-count-minor.json create mode 100644 public/configurations/visualizations/aar-nsg-alarm-text.json diff --git a/public/configurations/dashboards/aarNSG.json b/public/configurations/dashboards/aarNSG.json index 5277261c..09ffed32 100644 --- a/public/configurations/dashboards/aarNSG.json +++ b/public/configurations/dashboards/aarNSG.json @@ -4,19 +4,17 @@ "creationDate": "10/26/2016", "title": "AAR NSG ({{snsg}})", "visualizations": [ - { "id": "aar-nsg-top10-app", "x": 0, "y": 10, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true}, - { "id": "aar-nsg-top5-talkers-upload", "x": 0, "y": 25, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true}, - { "id": "aar-nsg-top5-talkers-download", "x": 6, "y": 25, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true}, - { "id": "aar-nsg-app-linechart", "x": 6, "y": 10, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true}, - { "id": "aar-nsg-alarm-count-critical", "x": 3, "y": 0, "w": 2, "h": 9, "minW": 1, "minH": 5, "static": true}, - { "id": "aar-nsg-alarm-count-major", "x": 5, "y": 0, "w": 2, "h": 9, "minW": 1, "minH": 5, "static": true}, - { "id": "aar-nsg-alarm-count-minor", "x": 7, "y": 0, "w": 2, "h": 9, "minW": 1, "minH": 5, "static": true} + { "id": "aar-nsg-alarm-text", "x": 1, "y": 0, "w": 2, "h": 8, "minW": 1, "minH": 5, "static": true} ], "links": [ { "label": "Dashboard View", "url": "/dashboards/aarNSG" }, + { + "label": "Top Talkers", + "url": "/dashboards/aarNSGTopTalkers" + }, { "label": "Detail View", "url": "/dashboards/aarNSGDetail" diff --git a/public/configurations/dashboards/aarNSGTopTalkers.json b/public/configurations/dashboards/aarNSGTopTalkers.json new file mode 100644 index 00000000..5d401c5d --- /dev/null +++ b/public/configurations/dashboards/aarNSGTopTalkers.json @@ -0,0 +1,55 @@ +{ + "id": "aarNSG", + "author": "Ronak Shah", + "creationDate": "10/26/2016", + "title": "NSG ({{snsg}}) Top Talkers ", + "visualizations": [ + { "id": "aar-nsg-top10-app", "x": 0, "y": 0, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true}, + { "id": "aar-nsg-top5-talkers-upload", "x": 0, "y": 15, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true}, + { "id": "aar-nsg-top5-talkers-download", "x": 6, "y": 15, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true}, + { "id": "aar-nsg-app-linechart", "x": 6, "y": 0, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true} + ], + "links": [ + { + "label": "Dashboard View", + "url": "/dashboards/aarNSG" + }, + { + "label": "Top Talkers", + "url": "/dashboards/aarNSGTopTalkers" + }, + { + "label": "Detail View", + "url": "/dashboards/aarNSGDetail" + }, + { + "label": "NATT Events", + "url": "/dashboards/aarNSGNATTEvents" + }, + { + "label": "IKE", + "url": "/dashboards/aarNSGIKE" + }, + { + "label": "Alarms", + "url": "/dashboards/aarNSGAlarms" + } + ], + "filterOptions": { + "Metric": { + "parameter": "metric", + "default": "TotalBytesCount", + "options": [ + { + "label": "Total Bytes", + "value": "TotalBytesCount", + "default": true + }, + { + "label": "Total Packets", + "value": "TotalPacketsCount" + } + ] + } + } +} diff --git a/public/configurations/visualizations/aar-enterprise-geomap-text-notactivated.json b/public/configurations/visualizations/aar-enterprise-geomap-text-notactivated.json index dc963d2d..fc72bcbf 100644 --- a/public/configurations/visualizations/aar-enterprise-geomap-text-notactivated.json +++ b/public/configurations/visualizations/aar-enterprise-geomap-text-notactivated.json @@ -3,7 +3,6 @@ "title": "NSGs Health", "query": "aar-enterprise-geomap-text", "graph": "MultiColumnStatusTextGraph", - "description":"Quick View of the Critical alarms for this NSG in the VSD dashboard", "showTitleBar":false, "data": { "targetedColumns": ["alarmedNSGCount.critical", "alarmedNSGCount.major", "alarmedNSGCount.healthy", "inactiveNSGCount"], diff --git a/public/configurations/visualizations/aar-nsg-alarm-count-critical.json b/public/configurations/visualizations/aar-nsg-alarm-count-critical.json deleted file mode 100644 index 6ec0ebe3..00000000 --- a/public/configurations/visualizations/aar-nsg-alarm-count-critical.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "id": "aar-nsg-alarm-count-critical", - "title": "Critical Alarms", - "query": "aar-nsg-alarm-summary", - "graph": "SimpleTextGraph", - "description":"Quick View of the Critical alarms for this NSG in the VSD dashboard", - "showTitleBar":false, - "data": { - "borderRadius": "0", - "targetedColumn":"criticalAlarmsCount", - "circleColor":"#f76159", - "colors":[ - "red" - ] - }, - "listeners": [{ - "redirect": "/dashboards/aarNSGAlarms", - "params": { - "nsgId": "gatewayID" - } - }] -} diff --git a/public/configurations/visualizations/aar-nsg-alarm-count-major.json b/public/configurations/visualizations/aar-nsg-alarm-count-major.json deleted file mode 100644 index 9e2296bc..00000000 --- a/public/configurations/visualizations/aar-nsg-alarm-count-major.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "aar-nsg-alarm-count-major", - "title": "Major Alarms", - "query": "aar-nsg-alarm-summary", - "graph": "SimpleTextGraph", - "description":"Quick View of the Major alarms for this NSG in the VSD dashboard", - "showTitleBar":false, - "data": { - "borderRadius": "0", - "targetedColumn":"majorAlarmsCount", - "colors":[ - "#ffd92f" - ] - }, - "listeners": [{ - "redirect": "/dashboards/aarNSGAlarms", - "params": { - "nsgId": "gatewayID" - } - }] -} diff --git a/public/configurations/visualizations/aar-nsg-alarm-count-minor.json b/public/configurations/visualizations/aar-nsg-alarm-count-minor.json deleted file mode 100644 index 50a0dd80..00000000 --- a/public/configurations/visualizations/aar-nsg-alarm-count-minor.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "aar-nsg-alarm-count-minor", - "title": "Minor Alarms", - "query": "aar-nsg-alarm-summary", - "graph": "SimpleTextGraph", - "description":"Quick View of the Minor alarms for this NSG in the VSD dashboard", - "showTitleBar":false, - "data": { - "borderRadius": "0", - "targetedColumn":"minorAlarmsCount", - "colors":[ - "green" - ] - }, - "listeners": [{ - "redirect": "/dashboards/aarNSGAlarms", - "params": { - "nsgId": "gatewayID" - } - }] -} diff --git a/public/configurations/visualizations/aar-nsg-alarm-text.json b/public/configurations/visualizations/aar-nsg-alarm-text.json new file mode 100644 index 00000000..6775c575 --- /dev/null +++ b/public/configurations/visualizations/aar-nsg-alarm-text.json @@ -0,0 +1,34 @@ +{ + "id": "aar-nsg-alarm-text", + "title": "NSG Health", + "query": "aar-nsg-alarm-summary", + "graph": "MultiColumnStatusTextGraph", + "description":"Quick View of the Critical alarms for this NSG in the VSD dashboard", + "showTitleBar":false, + "data": { + "targetedColumns": ["criticalAlarmsCount", "majorAlarmsCount", "minorAlarmsCount"], + "colors":[ + "#D9070A", + "#FFBF02", + "#62AC00" + ], + "texts": [ + "Critical Alarms", + "Major Alarms", + "Healthy NSGs" + ], + "margin": { + "top": "25px", + "bottom": "auto", + "left": "auto", + "right": "auto" + }, + "disableTitle": true + }, + "listeners": [{ + "redirect": "/dashboards/aarNSGAlarms", + "params": { + "nsgId": "gatewayID" + } + }] +} From 3853a5f19ace56e2590244a3ebfec66a64abd809 Mon Sep 17 00:00:00 2001 From: Bharat Mukheja Date: Mon, 19 Nov 2018 14:55:24 -0800 Subject: [PATCH 2/6] Added linechart for resource utilisation --- public/configurations/dashboards/aarNSG.json | 22 ++------ .../queries/aar-nsg-resource-linechart.json | 52 +++++++++++++++++++ .../aar-nsg-resource-linechart.json | 30 +++++++++++ src/components/App/MainMenu.js | 2 +- 4 files changed, 86 insertions(+), 20 deletions(-) create mode 100644 public/configurations/queries/aar-nsg-resource-linechart.json create mode 100644 public/configurations/visualizations/aar-nsg-resource-linechart.json diff --git a/public/configurations/dashboards/aarNSG.json b/public/configurations/dashboards/aarNSG.json index 09ffed32..09a393c3 100644 --- a/public/configurations/dashboards/aarNSG.json +++ b/public/configurations/dashboards/aarNSG.json @@ -4,7 +4,8 @@ "creationDate": "10/26/2016", "title": "AAR NSG ({{snsg}})", "visualizations": [ - { "id": "aar-nsg-alarm-text", "x": 1, "y": 0, "w": 2, "h": 8, "minW": 1, "minH": 5, "static": true} + { "id": "aar-nsg-alarm-text", "x": 1, "y": 0, "w": 2, "h": 8, "minW": 1, "minH": 5, "static": true}, + { "id": "aar-nsg-resource-linechart", "x": 0, "y": 8, "w": 10, "h": 15, "minW": 1, "minH": 5, "static": true} ], "links": [ { @@ -31,22 +32,5 @@ "label": "Alarms", "url": "/dashboards/aarNSGAlarms" } - ], - "filterOptions": { - "Metric": { - "parameter": "metric", - "default": "TotalBytesCount", - "options": [ - { - "label": "Total Bytes", - "value": "TotalBytesCount", - "default": true - }, - { - "label": "Total Packets", - "value": "TotalPacketsCount" - } - ] - } - } + ] } diff --git a/public/configurations/queries/aar-nsg-resource-linechart.json b/public/configurations/queries/aar-nsg-resource-linechart.json new file mode 100644 index 00000000..7c0a3cba --- /dev/null +++ b/public/configurations/queries/aar-nsg-resource-linechart.json @@ -0,0 +1,52 @@ +{ + "id":"aar-nsg-resource-linechart", + "title":"TBD", + "service":"elasticsearch", + "query":{ + "index":"{{index:nuage_sysmon}}", + "type":"{{type:nuage_doc_type}}", + "body":{ + "size":0, + "query":{ + "bool":{ + "must":[ + { + "range":{ + "timestamp":{ + "gte":"{{startTime:now-24h}}", + "lte":"{{endTime:now}}", + "format":"epoch_millis" + } + } + }, + { + "term": { + "system_id": "{{nsgSystemId}}" + } + } + ] + } + }, + "aggs": { + "ts": { + "date_histogram": { + "field": "timestamp", + "interval": "{{interval:1h}}" + }, + "aggs": { + "CPU": { + "avg": { + "field": "cpu" + } + }, + "MEMORY": { + "avg": { + "field": "memory" + } + } + } + } + } + } + } +} diff --git a/public/configurations/visualizations/aar-nsg-resource-linechart.json b/public/configurations/visualizations/aar-nsg-resource-linechart.json new file mode 100644 index 00000000..df9a289a --- /dev/null +++ b/public/configurations/visualizations/aar-nsg-resource-linechart.json @@ -0,0 +1,30 @@ +{ + "id": "aar-nsg-resource-linechart", + "graph": "MultiLineGraph", + "title": "Resource Utilisation", + "description": "Memory and CPU utilization over a period of time selected in interval", + "author": "Bharat Mukheja", + "creationDate": "11/19/2018", + "data": { + "dateHistogram": true, + "xColumn": "ts", + "xLabel": "Time", + "yColumn": ["CPU", "MEMORY"], + "yTickFormat": ",.1f", + "yLabel": "", + "yTicks": 5, + "linesColumn": ["CPU", "MEMORY"], + "legend": { + "orientation": "vertical", + "show": true, + "circleSize": 5, + "labelOffset": 5 + }, + "tooltip": [ + { "column": "columnType", "label": "Type"}, + { "column": "yColumn", "label": "Value (%)", "format": "0.2f"}, + { "column": "ts", "label": "Timestamp", "timeFormat": "%b %d, %y %X"} + ] + }, + "query": "aar-nsg-resource-linechart" +} diff --git a/src/components/App/MainMenu.js b/src/components/App/MainMenu.js index a5db51cc..822e86a0 100644 --- a/src/components/App/MainMenu.js +++ b/src/components/App/MainMenu.js @@ -174,7 +174,7 @@ class MainMenuView extends React.Component {
{nsgs.map((nsg) => { - let queryParams = Object.assign({}, context, { snsg: nsg.name, dnsg: nsg.name, nsgId: nsg.ID }); + let queryParams = Object.assign({}, context, { snsg: nsg.name, dnsg: nsg.name, nsgId: nsg.ID, nsgSystemId: nsg.systemID }); return ( Date: Mon, 26 Nov 2018 12:16:07 -0800 Subject: [PATCH 3/6] Added disk utilisation stacked barchart and custom tabification for the same --- public/configurations/dashboards/aarNSG.json | 3 +- .../queries/aar-nsg-disk-barchart.json | 27 +++++++++++ .../visualizations/aar-nsg-disk-barchart.json | 28 +++++++++++ .../nuage/elasticsearch/tabification/index.js | 3 +- .../tabification/nsgDiskUsage.js | 47 +++++++++++++++++++ 5 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 public/configurations/queries/aar-nsg-disk-barchart.json create mode 100644 public/configurations/visualizations/aar-nsg-disk-barchart.json create mode 100644 src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js diff --git a/public/configurations/dashboards/aarNSG.json b/public/configurations/dashboards/aarNSG.json index 09a393c3..e3faefe0 100644 --- a/public/configurations/dashboards/aarNSG.json +++ b/public/configurations/dashboards/aarNSG.json @@ -5,7 +5,8 @@ "title": "AAR NSG ({{snsg}})", "visualizations": [ { "id": "aar-nsg-alarm-text", "x": 1, "y": 0, "w": 2, "h": 8, "minW": 1, "minH": 5, "static": true}, - { "id": "aar-nsg-resource-linechart", "x": 0, "y": 8, "w": 10, "h": 15, "minW": 1, "minH": 5, "static": true} + { "id": "aar-nsg-resource-linechart", "x": 0, "y": 8, "w": 10, "h": 15, "minW": 1, "minH": 5, "static": true}, + { "id": "aar-nsg-disk-barchart", "x": 10, "y": 8, "w": 2, "h": 15, "minW": 1, "minH":5, "static": true} ], "links": [ { diff --git a/public/configurations/queries/aar-nsg-disk-barchart.json b/public/configurations/queries/aar-nsg-disk-barchart.json new file mode 100644 index 00000000..5f25b180 --- /dev/null +++ b/public/configurations/queries/aar-nsg-disk-barchart.json @@ -0,0 +1,27 @@ +{ + "id":"aar-nsg-disk-barchart", + "title":"TBD", + "service":"elasticsearch", + "query":{ + "index":"{{index:nuage_sysmon}}", + "type":"{{type:nuage_doc_type}}", + "body":{ + "size":1, + "sort":[ + {"timestamp":{"order":"desc"}} + ], + "query":{ + "bool":{ + "must":[ + { + "term": { + "system_id": "{{nsgSystemId}}" + } + } + ] + } + } + } + }, + "tabify":"nsgDiskUsage" +} diff --git a/public/configurations/visualizations/aar-nsg-disk-barchart.json b/public/configurations/visualizations/aar-nsg-disk-barchart.json new file mode 100644 index 00000000..94d8c707 --- /dev/null +++ b/public/configurations/visualizations/aar-nsg-disk-barchart.json @@ -0,0 +1,28 @@ +{ + "id": "aar-nsg-disk-barchart", + "graph": "DynamicBarGraph", + "title": "Disk Utilisation on NSG", + "description": "Bar graph displays disk usage for two disks - /nuagetmpfs and /home", + "author": "Bharat Mukheja", + "creationDate": "11/26/2018", + "data": { + "brush": 7, + "tooltip": [ + { "column": "name", "label": "Disk" }, + { "column": "field", "label": "Type" }, + { "column": "value", "label": "Value", "format": ",.2s"} + ], + "colors":[ + "#b3d645", + "#f76159" + + ], + "xLabel": "Disk", + "yLabel": "Usage", + "yTickFormat": ".2s", + "xColumn": "name", + "stackColumn":"field", + "yColumn": "value" + }, + "query": "aar-nsg-disk-barchart" +} diff --git a/src/configs/nuage/elasticsearch/tabification/index.js b/src/configs/nuage/elasticsearch/tabification/index.js index deb575d3..f10a031c 100644 --- a/src/configs/nuage/elasticsearch/tabification/index.js +++ b/src/configs/nuage/elasticsearch/tabification/index.js @@ -1 +1,2 @@ -export { default as top20TalkerAARDomain } from './top20TalkerAARDomain'; \ No newline at end of file +export { default as top20TalkerAARDomain } from './top20TalkerAARDomain'; +export { default as nsgDiskUsage } from './nsgDiskUsage'; \ No newline at end of file diff --git a/src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js b/src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js new file mode 100644 index 00000000..f95c3a08 --- /dev/null +++ b/src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js @@ -0,0 +1,47 @@ +/* + This utility will convert the nested data structure + returned from an ElasticSearch query into a tabular + data structure represented as an array of row objects. + + Inspired by Kibana's implementation, found at + https://github.com/elastic/kibana/blob/master/src/ui/public/agg_response/tabify/tabify.js +*/ +export default function nsgDiskUsage(response) { + let table; + + if (response.hits.hits.length ==1 && response.hits.hits[0]._source.disks) { + table = response.hits.hits.map((d) => d._source); + } else { + throw new Error("Tabify() invoked with invalid result set. Result set must have either 'aggregations' or 'hits' defined."); + } + table = response.hits.hits[0]._source.disks; + //table = flatArray(table) + + let finalData = []; + table.forEach(item => { + if (item.name === "/home" || item.name === "/nuagetmpfs"){ + finalData.push({ + name:item.name, + field:"used", + value:item.used + }); + finalData.push({ + name:item.name, + field:"available", + value:item.available + }); + } + }) + + if (process.env.NODE_ENV === "development") { + console.log("Results from tabify (first 3 rows only):"); + + // This one shows where there are "undefined" values. + console.log(finalData) + + // This one shows the full structure pretty-printed. + console.log(JSON.stringify(finalData.slice(0, 3), null, 2)) + } + + return finalData; +} From 1fb06cbb9822309549cb9ef57d5e118c76a495ec Mon Sep 17 00:00:00 2001 From: Bharat Mukheja Date: Mon, 26 Nov 2018 12:29:00 -0800 Subject: [PATCH 4/6] Made the disk chart horizontal, converted to percentage --- public/configurations/dashboards/aarNSG.json | 4 ++-- .../visualizations/aar-nsg-disk-barchart.json | 14 +++++++------- .../elasticsearch/tabification/nsgDiskUsage.js | 5 +++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/public/configurations/dashboards/aarNSG.json b/public/configurations/dashboards/aarNSG.json index e3faefe0..f4d1644c 100644 --- a/public/configurations/dashboards/aarNSG.json +++ b/public/configurations/dashboards/aarNSG.json @@ -5,8 +5,8 @@ "title": "AAR NSG ({{snsg}})", "visualizations": [ { "id": "aar-nsg-alarm-text", "x": 1, "y": 0, "w": 2, "h": 8, "minW": 1, "minH": 5, "static": true}, - { "id": "aar-nsg-resource-linechart", "x": 0, "y": 8, "w": 10, "h": 15, "minW": 1, "minH": 5, "static": true}, - { "id": "aar-nsg-disk-barchart", "x": 10, "y": 8, "w": 2, "h": 15, "minW": 1, "minH":5, "static": true} + { "id": "aar-nsg-resource-linechart", "x": 0, "y": 8, "w": 8, "h": 15, "minW": 1, "minH": 5, "static": true}, + { "id": "aar-nsg-disk-barchart", "x": 8, "y": 8, "w": 4, "h": 15, "minW": 1, "minH":5, "static": true} ], "links": [ { diff --git a/public/configurations/visualizations/aar-nsg-disk-barchart.json b/public/configurations/visualizations/aar-nsg-disk-barchart.json index 94d8c707..3f983c1b 100644 --- a/public/configurations/visualizations/aar-nsg-disk-barchart.json +++ b/public/configurations/visualizations/aar-nsg-disk-barchart.json @@ -10,19 +10,19 @@ "tooltip": [ { "column": "name", "label": "Disk" }, { "column": "field", "label": "Type" }, - { "column": "value", "label": "Value", "format": ",.2s"} + { "column": "value", "label": "Value (%)", "format": ",.2s"} ], "colors":[ "#b3d645", "#f76159" - ], - "xLabel": "Disk", - "yLabel": "Usage", - "yTickFormat": ".2s", - "xColumn": "name", + "yLabel": "Disk", + "xLabel": "Usage", + "xTickFormat": ".2s", + "yColumn": "name", "stackColumn":"field", - "yColumn": "value" + "xColumn": "value", + "orientation":"horizontal" }, "query": "aar-nsg-disk-barchart" } diff --git a/src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js b/src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js index f95c3a08..2072c62c 100644 --- a/src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js +++ b/src/configs/nuage/elasticsearch/tabification/nsgDiskUsage.js @@ -19,16 +19,17 @@ export default function nsgDiskUsage(response) { let finalData = []; table.forEach(item => { + //Select only these two disks, and populate their percentages. Little workaround to avoid lots of configuration in configuration file if (item.name === "/home" || item.name === "/nuagetmpfs"){ finalData.push({ name:item.name, field:"used", - value:item.used + value:(item.used*100/(item.used+item.available)) }); finalData.push({ name:item.name, field:"available", - value:item.available + value:(item.available*100/(item.used+item.available)) }); } }) From 64822e366cef71a3a08a6757056083554e4b14a2 Mon Sep 17 00:00:00 2001 From: Bharat Mukheja Date: Thu, 29 Nov 2018 12:39:28 -0800 Subject: [PATCH 5/6] Rename top talkers to top apps --- public/configurations/dashboards/aarNSG.json | 4 ++-- public/configurations/dashboards/aarNSGAlarms.json | 4 ++++ public/configurations/dashboards/aarNSGDetail.json | 4 ++++ public/configurations/dashboards/aarNSGIKE.json | 4 ++++ public/configurations/dashboards/aarNSGNATTEvents.json | 4 ++++ .../{aarNSGTopTalkers.json => aarNSGTopApps.json} | 8 ++++---- 6 files changed, 22 insertions(+), 6 deletions(-) rename public/configurations/dashboards/{aarNSGTopTalkers.json => aarNSGTopApps.json} (91%) diff --git a/public/configurations/dashboards/aarNSG.json b/public/configurations/dashboards/aarNSG.json index f4d1644c..7f395e58 100644 --- a/public/configurations/dashboards/aarNSG.json +++ b/public/configurations/dashboards/aarNSG.json @@ -14,8 +14,8 @@ "url": "/dashboards/aarNSG" }, { - "label": "Top Talkers", - "url": "/dashboards/aarNSGTopTalkers" + "label": "Top Apps", + "url": "/dashboards/aarNSGTopApps" }, { "label": "Detail View", diff --git a/public/configurations/dashboards/aarNSGAlarms.json b/public/configurations/dashboards/aarNSGAlarms.json index 2416f813..bffb1e93 100644 --- a/public/configurations/dashboards/aarNSGAlarms.json +++ b/public/configurations/dashboards/aarNSGAlarms.json @@ -11,6 +11,10 @@ "label": "Dashboard View", "url": "/dashboards/aarNSG" }, + { + "label": "Top Apps", + "url": "/dashboards/aarNSGTopApps" + }, { "label": "Detail View", "url": "/dashboards/aarNSGDetail" diff --git a/public/configurations/dashboards/aarNSGDetail.json b/public/configurations/dashboards/aarNSGDetail.json index ed84957e..4fbc5f33 100644 --- a/public/configurations/dashboards/aarNSGDetail.json +++ b/public/configurations/dashboards/aarNSGDetail.json @@ -17,6 +17,10 @@ "label": "Dashboard View", "url": "/dashboards/aarNSG" }, + { + "label": "Top Apps", + "url": "/dashboards/aarNSGTopApps" + }, { "label": "Detail View", "url": "/dashboards/aarNSGDetail" diff --git a/public/configurations/dashboards/aarNSGIKE.json b/public/configurations/dashboards/aarNSGIKE.json index 2ae05fb1..d54ab267 100644 --- a/public/configurations/dashboards/aarNSGIKE.json +++ b/public/configurations/dashboards/aarNSGIKE.json @@ -16,6 +16,10 @@ "label": "Dashboard View", "url": "/dashboards/aarNSG" }, + { + "label": "Top Apps", + "url": "/dashboards/aarNSGTopApps" + }, { "label": "Detail View", "url": "/dashboards/aarNSGDetail" diff --git a/public/configurations/dashboards/aarNSGNATTEvents.json b/public/configurations/dashboards/aarNSGNATTEvents.json index c4770ec2..e12440eb 100644 --- a/public/configurations/dashboards/aarNSGNATTEvents.json +++ b/public/configurations/dashboards/aarNSGNATTEvents.json @@ -13,6 +13,10 @@ "label": "Dashboard View", "url": "/dashboards/aarNSG" }, + { + "label": "Top Apps", + "url": "/dashboards/aarNSGTopApps" + }, { "label": "Detail View", "url": "/dashboards/aarNSGDetail" diff --git a/public/configurations/dashboards/aarNSGTopTalkers.json b/public/configurations/dashboards/aarNSGTopApps.json similarity index 91% rename from public/configurations/dashboards/aarNSGTopTalkers.json rename to public/configurations/dashboards/aarNSGTopApps.json index 5d401c5d..94f4721a 100644 --- a/public/configurations/dashboards/aarNSGTopTalkers.json +++ b/public/configurations/dashboards/aarNSGTopApps.json @@ -1,8 +1,8 @@ { - "id": "aarNSG", + "id": "aarNSGTopApps", "author": "Ronak Shah", "creationDate": "10/26/2016", - "title": "NSG ({{snsg}}) Top Talkers ", + "title": "NSG ({{snsg}}) Top Apps ", "visualizations": [ { "id": "aar-nsg-top10-app", "x": 0, "y": 0, "w": 6, "h": 15, "minW": 5, "minH": 10, "static": true}, { "id": "aar-nsg-top5-talkers-upload", "x": 0, "y": 15, "w": 6, "h": 12, "minW": 5, "minH": 10, "static": true}, @@ -15,8 +15,8 @@ "url": "/dashboards/aarNSG" }, { - "label": "Top Talkers", - "url": "/dashboards/aarNSGTopTalkers" + "label": "Top Apps", + "url": "/dashboards/aarNSGTopApps" }, { "label": "Detail View", From 196b62f9f57f7ebf8123a71f3ca9e7a467457ac7 Mon Sep 17 00:00:00 2001 From: Bharat Mukheja Date: Thu, 29 Nov 2018 12:52:22 -0800 Subject: [PATCH 6/6] Corrected floating number representation --- public/configurations/visualizations/aar-nsg-disk-barchart.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/configurations/visualizations/aar-nsg-disk-barchart.json b/public/configurations/visualizations/aar-nsg-disk-barchart.json index 3f983c1b..d65cca50 100644 --- a/public/configurations/visualizations/aar-nsg-disk-barchart.json +++ b/public/configurations/visualizations/aar-nsg-disk-barchart.json @@ -10,7 +10,7 @@ "tooltip": [ { "column": "name", "label": "Disk" }, { "column": "field", "label": "Type" }, - { "column": "value", "label": "Value (%)", "format": ",.2s"} + { "column": "value", "label": "Value (%)", "format": ",.2f"} ], "colors":[ "#b3d645",