diff --git a/public/configurations/dashboards/aarApplicationPerformance.json b/public/configurations/dashboards/aarApplicationPerformance.json index cfcdf41d..ef900edd 100644 --- a/public/configurations/dashboards/aarApplicationPerformance.json +++ b/public/configurations/dashboards/aarApplicationPerformance.json @@ -25,12 +25,11 @@ { "id": "vsd-from-nsgs-table", "x": 0, "y": 0, "w": 2, "h": 15, "minW": 2, "minH": 15, "static": true}, { "id": "vsd-to-nsgs-table", "x": 2, "y": 0, "w": 2, "h": 15, "minW": 2, "minH": 15, "static": true}, { "id": "aar-flow-sla-heatmap", "x": 4, "y": 0, "w": 8, "h": 15, "minW": 8, "minH": 15, "static": true}, - { "id": "aar-flow-uplink-pairs", "x": 0, "y": 15, "w": 2, "h": 40, "minW": 2, "minH": 40, "static": true}, - { "id": "aar-nsg-per-port-traffic-linechart", "x": 2, "y": 15, "w": 10, "h": 10, "minW": 2, "minH": 10, "static": true}, - { "id": "aar-nsg-per-port-pktloss-linechart", "x": 2, "y": 25, "w": 10, "h": 10, "minW": 2, "minH": 10, "static": true}, - { "id": "aar-nsg-per-port-delay-linechart", "x": 2, "y": 35, "w": 10, "h": 10, "minW": 2, "minH": 10, "static": true}, - { "id": "aar-nsg-per-port-jitter-linechart", "x": 2, "y": 45, "w": 10, "h": 10, "minW": 2, "minH": 10, "static": true}, - { "id": "aar-nsg-sla-details", "x": 0, "y": 55, "w": 6, "h": 15, "minW": 2, "minH": 12, "static": true}, + { "id": "aar-flow-uplink-pairs", "x": 0, "y": 15, "w": 2, "h": 30, "minW": 2, "minH": 40, "static": true}, + { "id": "aar-nsg-per-port-pktloss-linechart", "x": 2, "y": 15, "w": 10, "h": 10, "minW": 2, "minH": 10, "static": true}, + { "id": "aar-nsg-per-port-delay-linechart", "x": 2, "y": 25, "w": 10, "h": 10, "minW": 2, "minH": 10, "static": true}, + { "id": "aar-nsg-per-port-jitter-linechart", "x": 2, "y": 35, "w": 10, "h": 10, "minW": 2, "minH": 10, "static": true}, + { "id": "aar-nsg-sla-details", "x": 0, "y": 45, "w": 6, "h": 15, "minW": 2, "minH": 12, "static": true}, { "id": "aar-nsg-sla-flow-details", "x": 6, "y": 70, "w": 6, "h": 15, "minW": 2, "minH": 12, "static": true} ], "defaultFilterOptionsOverride": { diff --git a/public/configurations/dashboards/aarNSGDetail.json b/public/configurations/dashboards/aarNSGDetail.json index ed84957e..69e71475 100644 --- a/public/configurations/dashboards/aarNSGDetail.json +++ b/public/configurations/dashboards/aarNSGDetail.json @@ -7,10 +7,14 @@ { "id": "aar-nsg-all-app-usage", "x": 0, "y": 0, "w": 3, "h": 15, "minW": 2, "minH": 12, "static": true}, { "id": "aar-nsg-client-traffic-detail","x": 3, "y": 0, "w": 9, "h": 15, "minW": 8, "minH": 12, "static": true}, { "id": "aar-nsg-app-traffic-detail","x": 0, "y": 15, "w": 12, "h": 15, "minW": 8, "minH": 12, "static": true}, - { "id": "aar-nsg-app-from-nsg", "x": 0, "y": 30, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true}, - { "id": "aar-nsg-app-to-nsg", "x": 6, "y": 30, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true}, - { "id": "aar-nsg-sla-from-nsg", "x": 0, "y": 45, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true}, - { "id": "aar-nsg-sla-to-nsg", "x": 6, "y": 45, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true} + { "id": "aar-nsg-per-port-traffic-linechart-overlay-uplink1", "x": 0, "y": 30, "w": 12, "h": 15, "minW": 5, "minH": 12, "static": true}, + { "id": "aar-nsg-per-port-traffic-linechart-overlay-uplink2", "x": 0, "y": 45, "w": 12, "h": 15, "minW": 5, "minH": 12, "static": true}, + { "id": "aar-nsg-per-port-traffic-linechart-underlay-uplink1", "x": 0, "y": 60, "w": 12, "h": 15, "minW": 5, "minH": 12, "static": true}, + { "id": "aar-nsg-per-port-traffic-linechart-underlay-uplink2", "x": 0, "y": 75, "w": 12, "h": 15, "minW": 5, "minH": 12, "static": true}, + { "id": "aar-nsg-app-from-nsg", "x": 0, "y": 90, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true}, + { "id": "aar-nsg-app-to-nsg", "x": 6, "y": 90, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true}, + { "id": "aar-nsg-sla-from-nsg", "x": 0, "y": 105, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true}, + { "id": "aar-nsg-sla-to-nsg", "x": 6, "y": 105, "w": 6, "h": 15, "minW": 5, "minH": 12, "static": true} ], "links": [ { diff --git a/public/configurations/queries/aar-nsg-per-port-traffic-linechart.json b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-overlay-uplink1.json similarity index 53% rename from public/configurations/queries/aar-nsg-per-port-traffic-linechart.json rename to public/configurations/queries/aar-nsg-per-port-traffic-linechart-overlay-uplink1.json index 0db833c4..7bf64433 100644 --- a/public/configurations/queries/aar-nsg-per-port-traffic-linechart.json +++ b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-overlay-uplink1.json @@ -1,5 +1,5 @@ { - "id":"aar-nsg-per-port-traffic-linechart", + "id":"aar-nsg-per-port-traffic-linechart-overlay-uplink1", "title":"TBD", "service":"elasticsearch", "query":{ @@ -13,8 +13,8 @@ { "range":{ "timestamp":{ - "gte":"{{nsgSlaDetailsstartTime:now-20m}}", - "lte":"{{nsgSlaDetailsendTime:now}}", + "gte":"{{startTime:now-20m}}", + "lte":"{{endTime:now}}", "format":"epoch_millis" } } @@ -26,27 +26,17 @@ }, { "term": { - "SourceNSG": "{{snsg}}" + "{{nsg_traffic_linechart1_nsg_type:SourceNSG}}": "{{snsg}}" } }, { - "term": { - "DestinationNSG": "{{dnsg}}" + "wildcard":{ + "{{nsg_traffic_linechart1_nsgside_uplink:SrcUplink}}":"{{uplink1}}*" } }, { - "term": { - "SrcUplink": "{{srcUplink}}" - } - }, - { - "term": { - "DstUplink": "{{dstUplink}}" - } - }, - { - "term": { - "Application": "{{app}}" + "exists":{ + "field":"{{nsg_traffic_linechart1_uplink:DstUplink}}" } } ] @@ -57,16 +47,22 @@ "date_histogram": { "field": "timestamp", "interval": "{{interval:1m}}", - "min_doc_count":0, - "extended_bounds" : { - "min" : "{{nsgSlaDetailsstartTime:now-20m}}", - "max" : "{{nsgSlaDetailsendTime:now}}" - } + "min_doc_count":0 }, - "aggs": { - "Traffic": { - "avg": { - "field": "IngressMB" + "aggs":{ + "App":{ + "terms":{ + "field":"Application", + "order":{ + "Traffic":"desc" + } + }, + "aggs": { + "Traffic": { + "avg": { + "field": "{{nsg_traffic_linechart1_bytesType:EgressMB}}" + } + } } } } diff --git a/public/configurations/queries/aar-nsg-per-port-traffic-linechart-overlay-uplink2.json b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-overlay-uplink2.json new file mode 100644 index 00000000..43595154 --- /dev/null +++ b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-overlay-uplink2.json @@ -0,0 +1,73 @@ +{ + "id":"aar-nsg-per-port-traffic-linechart-overlay-uplink2", + "title":"TBD", + "service":"elasticsearch", + "query":{ + "index":"{{index:nuage_dpi_flowstats}}", + "type":"{{type:nuage_doc_type}}", + "body":{ + "size":0, + "query":{ + "bool":{ + "must":[ + { + "range":{ + "timestamp":{ + "gte":"{{startTime:now-20m}}", + "lte":"{{endTime:now}}", + "format":"epoch_millis" + } + } + }, + { + "term": { + "EnterpriseName": "{{enterpriseName:test_org}}" + } + }, + { + "term": { + "{{nsg_traffic_linechart2_nsg_type:SourceNSG}}": "{{snsg}}" + } + }, + { + "wildcard":{ + "{{nsg_traffic_linechart2_nsgside_uplink:SrcUplink}}":"{{uplink2}}*" + } + }, + { + "exists":{ + "field":"{{nsg_traffic_linechart2_uplink:DstUplink}}" + } + } + ] + } + }, + "aggs": { + "ts": { + "date_histogram": { + "field": "timestamp", + "interval": "{{interval:1m}}", + "min_doc_count":0 + }, + "aggs":{ + "App":{ + "terms":{ + "field":"Application", + "order":{ + "Traffic":"desc" + } + }, + "aggs": { + "Traffic": { + "avg": { + "field": "{{nsg_traffic_linechart2_bytesType:EgressMB}}" + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/public/configurations/queries/aar-nsg-per-port-traffic-linechart-underlay-uplink1.json b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-underlay-uplink1.json new file mode 100644 index 00000000..863419de --- /dev/null +++ b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-underlay-uplink1.json @@ -0,0 +1,75 @@ +{ + "id":"aar-nsg-per-port-traffic-linechart-underlay-uplink1", + "title":"TBD", + "service":"elasticsearch", + "query":{ + "index":"{{index:nuage_dpi_flowstats}}", + "type":"{{type:nuage_doc_type}}", + "body":{ + "size":0, + "query":{ + "bool":{ + "must":[ + { + "range":{ + "timestamp":{ + "gte":"{{startTime:now-20m}}", + "lte":"{{endTime:now}}", + "format":"epoch_millis" + } + } + }, + { + "term": { + "EnterpriseName": "{{enterpriseName:test_org}}" + } + }, + { + "term": { + "{{nsg_traffic_linechart3_nsg_type:SourceNSG}}": "{{snsg}}" + } + }, + { + "wildcard":{ + "{{nsg_traffic_linechart3_nsgside_uplink:SrcUplink}}":"{{uplink1}}*" + } + } + ], + "must_not":[ + { + "exists":{ + "field":"{{nsg_traffic_linechart3_uplink:DstUplink}}" + } + } + ] + } + }, + "aggs": { + "ts": { + "date_histogram": { + "field": "timestamp", + "interval": "{{interval:1m}}", + "min_doc_count":0 + }, + "aggs":{ + "App":{ + "terms":{ + "field":"Application", + "order":{ + "Traffic":"desc" + } + }, + "aggs": { + "Traffic": { + "avg": { + "field": "{{nsg_traffic_linechart3_bytesType:EgressMB}}" + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/public/configurations/queries/aar-nsg-per-port-traffic-linechart-underlay-uplink2.json b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-underlay-uplink2.json new file mode 100644 index 00000000..f168332e --- /dev/null +++ b/public/configurations/queries/aar-nsg-per-port-traffic-linechart-underlay-uplink2.json @@ -0,0 +1,73 @@ +{ + "id": "aar-nsg-per-port-traffic-linechart-underlay-uplink2", + "title": "TBD", + "service": "elasticsearch", + "query": { + "index": "{{index:nuage_dpi_flowstats}}", + "type": "{{type:nuage_doc_type}}", + "body": { + "size": 0, + "query": { + "bool": { + "must": [{ + "range": { + "timestamp": { + "gte": "{{startTime:now-20m}}", + "lte": "{{endTime:now}}", + "format": "epoch_millis" + } + } + }, + { + "term": { + "EnterpriseName": "{{enterpriseName:test_org}}" + } + }, + { + "term": { + "{{nsg_traffic_linechart4_nsg_type:SourceNSG}}": "{{snsg}}" + } + }, + { + "wildcard": { + "{{nsg_traffic_linechart4_nsgside_uplink:SrcUplink}}": "{{uplink2}}*" + } + } + ], + "must_not": [{ + "exists": { + "field": "{{nsg_traffic_linechart4_uplink:DstUplink}}" + } + }] + + } + }, + "aggs": { + "ts": { + "date_histogram": { + "field": "timestamp", + "interval": "{{interval:1m}}", + "min_doc_count": 0 + }, + "aggs": { + "App": { + "terms": { + "field": "Application", + "order": { + "Traffic": "desc" + } + }, + "aggs": { + "Traffic": { + "avg": { + "field": "{{nsg_traffic_linechart4_bytesType:EgressMB}}" + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-overlay-uplink1.json b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-overlay-uplink1.json new file mode 100644 index 00000000..98222c78 --- /dev/null +++ b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-overlay-uplink1.json @@ -0,0 +1,56 @@ +{ + "id": "aar-nsg-per-port-traffic-linechart-overlay-uplink1", + "graph": "AreaGraph", + "title": "Overlay Traffic for {{uplink1}}", + "description": "Line graph displays the throughput of the application over the selected path", + "author": "Bharat Mukheja", + "creationDate": "11/06/2018", + "data": { + "dateHistogram": true, + "xColumn": "ts", + "yColumn": "Traffic", + "yTickFormat": ".2s", + "xLabel": "Time", + "yLabel": "Traffic(MB/{{interval}})", + "linesColumn": "App", + "showNull": false, + "legend": { + "orientation": "horizontal", + "show": true, + "circleSize": 5, + "labelOffset": 5 + }, + "tooltip": [ + { "column": "App", "label": "Application"}, + { "column": "Traffic", "label": "Data Usage", "format": ",.2s"}, + { "column": "ts", "label": "Timestamp", "timeFormat": "%b %d, %y %X"} + ] + }, + "filterOptions": { + "Traffic Type": { + "parameter": "traffic_type1", + "options": [ + { + "label": "Download", + "value":"Download", + "forceOptions": { + "nsg_traffic_linechart1_uplink": "SrcUplink", + "nsg_traffic_linechart1_nsgside_uplink":"DstUplink", + "nsg_traffic_linechart1_bytesType":"IngressMB" + } + }, + { + "label": "Upload", + "value": "Upload", + "default":true, + "forceOptions": { + "nsg_traffic_linechart1_uplink": "DstUplink", + "nsg_traffic_linechart1_nsgside_uplink":"SrcUplink", + "nsg_traffic_linechart1_bytesType":"EgressMB" + } + } + ] + } + }, + "query": "aar-nsg-per-port-traffic-linechart-overlay-uplink1" +} \ No newline at end of file diff --git a/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-overlay-uplink2.json b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-overlay-uplink2.json new file mode 100644 index 00000000..76bf7ff8 --- /dev/null +++ b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-overlay-uplink2.json @@ -0,0 +1,56 @@ +{ + "id": "aar-nsg-per-port-traffic-linechart-overlay-uplink2", + "graph": "AreaGraph", + "title": "Overlay Traffic for {{uplink2}}", + "description": "Line graph displays the throughput of the application over the selected path", + "author": "Bharat Mukheja", + "creationDate": "11/06/2018", + "data": { + "dateHistogram": true, + "xColumn": "ts", + "yColumn": "Traffic", + "yTickFormat": ".2s", + "xLabel": "Time", + "yLabel": "Traffic(MB/{{interval}})", + "linesColumn": "App", + "showNull": false, + "legend": { + "orientation": "horizontal", + "show": true, + "circleSize": 5, + "labelOffset": 5 + }, + "tooltip": [ + { "column": "App", "label": "Application"}, + { "column": "Traffic", "label": "Data Usage", "format": ",.2s"}, + { "column": "ts", "label": "Timestamp", "timeFormat": "%b %d, %y %X"} + ] + }, + "filterOptions": { + "Traffic Type": { + "parameter": "traffic_type2", + "options": [ + { + "label": "Download", + "value":"Download", + "forceOptions": { + "nsg_traffic_linechart2_uplink": "SrcUplink", + "nsg_traffic_linechart2_nsgside_uplink":"DstUplink", + "nsg_traffic_linechart2_bytesType":"IngressMB" + } + }, + { + "label": "Upload", + "value": "Upload", + "default":true, + "forceOptions": { + "nsg_traffic_linechart2_uplink": "DstUplink", + "nsg_traffic_linechart2_nsgside_uplink":"SrcUplink", + "nsg_traffic_linechart2_bytesType":"EgressMB" + } + } + ] + } + }, + "query": "aar-nsg-per-port-traffic-linechart-overlay-uplink2" +} \ No newline at end of file diff --git a/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-underlay-uplink1.json b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-underlay-uplink1.json new file mode 100644 index 00000000..6af0f3c8 --- /dev/null +++ b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-underlay-uplink1.json @@ -0,0 +1,47 @@ +{ + "id": "aar-nsg-per-port-traffic-linechart-underlay-uplink1", + "graph": "AreaGraph", + "title": "Underlay Traffic for {{uplink1}}", + "description": "Line graph displays the throughput of the application over the selected path", + "author": "Bharat Mukheja", + "creationDate": "11/06/2018", + "data": { + "dateHistogram": true, + "xColumn": "ts", + "yColumn": "Traffic", + "yTickFormat": ".2s", + "xLabel": "Time", + "yLabel": "Traffic(MB/{{interval}})", + "linesColumn": "App", + "showNull": false, + "legend": { + "orientation": "horizontal", + "show": true, + "circleSize": 5, + "labelOffset": 5 + }, + "tooltip": [ + { "column": "Traffic","label":"Upload Traffic", "format": ",.2s" }, + { "column": "App","label":"Application" }, + { "column": "ts", "label": "Timestamp", "timeFormat": "%b %d, %y %X"} + ] + }, + "filterOptions": { + "Traffic Type": { + "parameter": "traffic_type3", + "options": [ + { + "label": "Upload", + "value": "Upload", + "default":true, + "forceOptions": { + "nsg_traffic_linechart3_uplink": "DstUplink", + "nsg_traffic_linechart3_nsgside_uplink":"SrcUplink", + "nsg_traffic_linechart3_bytesType":"EgressMB" + } + } + ] + } + }, + "query": "aar-nsg-per-port-traffic-linechart-underlay-uplink1" +} \ No newline at end of file diff --git a/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-underlay-uplink2.json b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-underlay-uplink2.json new file mode 100644 index 00000000..3ab8d760 --- /dev/null +++ b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart-underlay-uplink2.json @@ -0,0 +1,47 @@ +{ + "id": "aar-nsg-per-port-traffic-linechart-underlay-uplink2", + "graph": "AreaGraph", + "title": "Underlay Traffic for {{uplink2}}", + "description": "Line graph displays the throughput of the application over the selected path", + "author": "Bharat Mukheja", + "creationDate": "11/06/2018", + "data": { + "dateHistogram": true, + "xColumn": "ts", + "yColumn": "Traffic", + "yTickFormat": ".2s", + "xLabel": "Time", + "yLabel": "Traffic(MB/{{interval}})", + "linesColumn": "App", + "showNull": false, + "legend": { + "orientation": "horizontal", + "show": true, + "circleSize": 5, + "labelOffset": 5 + }, + "tooltip": [ + { "column": "Traffic","label":"Upload Traffic", "format": ",.2s" }, + { "column": "App","label":"Application" }, + { "column": "ts", "label": "Timestamp", "timeFormat": "%b %d, %y %X"} + ] + }, + "filterOptions": { + "Traffic Type": { + "parameter": "traffic_type4", + "options": [ + { + "label": "Upload", + "value": "Upload", + "default":true, + "forceOptions": { + "nsg_traffic_linechart4_uplink": "DstUplink", + "nsg_traffic_linechart4_nsgside_uplink":"SrcUplink", + "nsg_traffic_linechart4_bytesType":"EgressMB" + } + } + ] + } + }, + "query": "aar-nsg-per-port-traffic-linechart-underlay-uplink2" +} \ No newline at end of file diff --git a/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart.json b/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart.json deleted file mode 100644 index cb5ad5ec..00000000 --- a/public/configurations/visualizations/aar-nsg-per-port-traffic-linechart.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "id": "aar-nsg-per-port-traffic-linechart", - "graph": "MultiLineGraph", - "title": "Traffic for {{app}}", - "description": "Line graph displays the throughput of the application over the selected path", - "author": "Bharat Mukheja", - "creationDate": "11/17/2017", - "data": { - "dateHistogram": true, - "xColumn": "ts", - "yColumn": ["Traffic"], - "yTickFormat": ".2s", - "xLabel": "Time", - "yLabel": "Traffic(MB/{{interval}})", - "linesColumn": ["Traffic"], - "showNull": false, - "stroke": { - "color": "#f76159", - "width": "2px" - }, - "legend": { - "orientation": "horizontal", - "show": true, - "circleSize": 5, - "labelOffset": 5 - }, - "colors": [ - "#000000" - ], - "tooltip": [ - { "column": "yColumn","label":"Upload Traffic" } - ] - }, - "query": "aar-nsg-per-port-traffic-linechart" -} \ No newline at end of file