Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.4.1 bug fixes #788

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions public/configurations/queries/vss-domain-flow-table-pg.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@
{"term": {"{{domainType:nuage_metadata.domainName}}": "{{domainName}}"} },
{
"nested": {
"path": "{{destination_field:nuage_metadata.dst-pgmem-info}}",
"path": "{{destination_field:nuage_metadata.src-pgmem-info}}",
"score_mode": "none",
"query": {
"bool": {
"must": [
{
"match": {
"{{source_field:nuage_metadata.dst-pgmem-info}}.name": "{{destination}}"
"{{source_field:nuage_metadata.src-pgmem-info}}.name": "{{destination}}"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"Prev 24": {
"range": {
"timestamp": {
"gte": "{{prevStartTime:now-48h}}",
"lte": "{{startTime:now-24h}}"
"gte": "now-48h",
"lte": "now-24h"
}
}
},
"Last 24": {
"range": {
"timestamp": {
"gte": "{{startTime:now-24h}}",
"lte": "{{endTime:now}}"
"gte": "now-24h",
"lte": "now"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"Last 24":{
"range":{
"timestamp":{
"gte":"{{startTime:now-24h}}",
"lte":"{{endTime:now}}"
"gte":"now-24h",
"lte":"now"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
"Prev 24": {
"range": {
"timestamp": {
"gte": "{{prevStartTime:now-48h}}",
"lte": "{{startTime:now-24h}}"
"gte": "now-48h",
"lte": "now-24h"
}
}
},
"Last 24": {
"range": {
"timestamp": {
"gte": "{{startTime:now-24h}}",
"lte": "{{endTime:now}}"
"gte": "now-24h",
"lte": "now"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
"Prev 24": {
"range": {
"timestamp": {
"gte": "{{prevStartTime:now-48h}}",
"lte": "{{startTime:now-24h}}"
"gte": "now-48h",
"lte": "now-24h"
}
}
},
"Last 24": {
"range": {
"timestamp": {
"gte": "{{startTime:now-24h}}",
"lte": "{{endTime:now}}"
"gte": "now-24h",
"lte": "now"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions public/configurations/queries/vss-enterprise-pg-metric.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
"Prev 24": {
"range": {
"timestamp": {
"gte": "{{prevStartTime:now-48h}}",
"lte": "{{startTime:now-24h}}"
"gte": "now-48h",
"lte": "now-24h"
}
}
},
"Last 24": {
"range": {
"timestamp": {
"gte": "{{startTime:now-24h}}",
"lte": "{{endTime:now}}"
"gte": "now-24h",
"lte": "now"
}
}
}
Expand Down
41 changes: 22 additions & 19 deletions public/configurations/queries/vss-top-domains-blocked-traffic.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"id":"vss-topdomains-blocked-traffic",
"title":"Top Domains with Blocked Traffic",
"service":"elasticsearch",
"query":{
"index":"{{index:nuage_flow}}",
"type":"{{type:nuage_doc_type}}",
"body":{
"size":0,
"query":{
"bool":{
"must":[
"id": "vss-topdomains-blocked-traffic",
"title": "Top Domains with Blocked Traffic",
"service": "elasticsearch",
"query": {
"index": "{{index:nuage_flow}}",
"type": "{{type:nuage_doc_type}}",
"body": {
"size": 0,
"query": {
"bool": {
"must": [
{
"range":{
"timestamp":{
"gte":"{{startTime:now-24h}}",
"lte":"{{endTime:now}}",
"format":"epoch_millis"
"range": {
"timestamp": {
"gte": "{{startTime:now-24h}}",
"lte": "{{endTime:now}}",
"format": "epoch_millis"
}
}
},
{
"term": {
"nuage_metadata.enterpriseName":"{{enterpriseName:chord_enterprise}}"
"nuage_metadata.enterpriseName": "{{enterpriseName:chord_enterprise}}"
}
},
{
Expand All @@ -35,7 +35,10 @@
"aggs": {
"domains": {
"terms": {
"field": "nuage_metadata.domainName",
"script": {
"inline": "doc['nuage_metadata.l2domainName'].value ?: doc['nuage_metadata.domainName']",
"lang": "painless"
},
"size": 5,
"order": {
"SumOf": "desc"
Expand All @@ -52,4 +55,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
{ "column": "nuage_metadata.zoneName", "label": "Zone Name" }
]
},
"query": "vss-domain-events-detail"
"query": {"data":{"name":"vss-domain-events-detail","scroll":true}}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"column": "timezones",
"value": "Last 24",
"field": "value",
"format": ",.4s"
"format": "s"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"column": "timezones",
"value": "Last 24",
"field": "doc_count",
"format": ",.4s"
"format": "s"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"column": "timezones",
"value": "Last 24",
"field": "doc_count",
"format": ",.4s"
"format": "s"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"column": "timezones",
"value": "Last 24",
"field": "doc_count",
"format": ",.4s"
"format": "s"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"column": "timezones",
"value": "Last 24",
"field": "value",
"format": ",.4s"
"format": "s"
}
}
}