Skip to content

Commit

Permalink
Cherry-pick elastic#17542 to 7.7: [Metricbeat] Fix s3 dashboard to us…
Browse files Browse the repository at this point in the history
…e aws.s3.bucket.name field name (elastic#17557)

* [Metricbeat] Fix s3 dashboard to use aws.s3.bucket.name field name (elastic#17542)

* Fix s3 dashboard to use aws.s3.bucket.name field name

* add changelog

(cherry picked from commit eec0c9c)

* update changelog
  • Loading branch information
kaiyan-sheng authored Apr 7, 2020
1 parent c1405a3 commit 528b2d7
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 48 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix how we filter services by name in system/service {pull}17400[17400]
- Fix cloudwatch metricset missing tags collection. {issue}17419[17419] {pull}17424[17424]
- check if cpuOptions field is nil in DescribeInstances output in ec2 metricset. {pull}17418[17418]
- Fix aws.s3.bucket.name terms_field in s3 overview dashboard. {pull}17542[17542]
- Fix Unix socket path in memcached. {pull}17512[17512]

*Packetbeat*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
},
"panelsJSON": [
{
"embeddableConfig": {},
"embeddableConfig": {
"title": "S3 Daily Storage Bucket Size in Bytes"
},
"gridData": {
"h": 7,
"i": "1",
Expand All @@ -29,10 +31,13 @@
},
"panelIndex": "1",
"panelRefName": "panel_0",
"version": "7.3.0"
"title": "S3 Daily Storage Bucket Size in Bytes",
"version": "7.7.0"
},
{
"embeddableConfig": {},
"embeddableConfig": {
"title": "S3 Daily Storage Number of Objects"
},
"gridData": {
"h": 7,
"i": "2",
Expand All @@ -42,10 +47,13 @@
},
"panelIndex": "2",
"panelRefName": "panel_1",
"version": "7.3.0"
"title": "S3 Daily Storage Number of Objects",
"version": "7.7.0"
},
{
"embeddableConfig": {},
"embeddableConfig": {
"title": "S3 Request Latency Total Request in ms"
},
"gridData": {
"h": 7,
"i": "3",
Expand All @@ -55,10 +63,13 @@
},
"panelIndex": "3",
"panelRefName": "panel_2",
"version": "7.3.0"
"title": "S3 Request Latency Total Request in ms",
"version": "7.7.0"
},
{
"embeddableConfig": {},
"embeddableConfig": {
"title": "S3 Total Error 4xx"
},
"gridData": {
"h": 6,
"i": "4",
Expand All @@ -68,10 +79,13 @@
},
"panelIndex": "4",
"panelRefName": "panel_3",
"version": "7.3.0"
"title": "S3 Total Error 4xx",
"version": "7.7.0"
},
{
"embeddableConfig": {},
"embeddableConfig": {
"title": "S3 Total Error 5xx"
},
"gridData": {
"h": 6,
"i": "5",
Expand All @@ -81,10 +95,13 @@
},
"panelIndex": "5",
"panelRefName": "panel_4",
"version": "7.3.0"
"title": "S3 Total Error 5xx",
"version": "7.7.0"
},
{
"embeddableConfig": {},
"embeddableConfig": {
"title": "S3 Filters"
},
"gridData": {
"h": 6,
"i": "6",
Expand All @@ -94,10 +111,13 @@
},
"panelIndex": "6",
"panelRefName": "panel_5",
"version": "7.3.0"
"title": "S3 Filters",
"version": "7.7.0"
},
{
"embeddableConfig": {},
"embeddableConfig": {
"title": "S3 Total Requests"
},
"gridData": {
"h": 7,
"i": "7",
Expand All @@ -107,10 +127,17 @@
},
"panelIndex": "7",
"panelRefName": "panel_6",
"version": "7.3.0"
"title": "S3 Total Requests",
"version": "7.7.0"
}
],
"timeRestore": false,
"refreshInterval": {
"pause": true,
"value": 0
},
"timeFrom": "now-1d",
"timeRestore": true,
"timeTo": "now",
"title": "[Metricbeat AWS] S3 Overview",
"version": 1
},
Expand Down Expand Up @@ -156,8 +183,8 @@
}
],
"type": "dashboard",
"updated_at": "2019-09-12T21:18:24.987Z",
"version": "Wzc3NjAsN10="
"updated_at": "2020-04-06T16:29:50.517Z",
"version": "WzkxOSwyXQ=="
},
{
"attributes": {
Expand Down Expand Up @@ -190,6 +217,8 @@
"id": "f703aff0-475f-11e9-a9de-e776805ecfc9"
}
],
"default_index_pattern": "metricbeat-*",
"default_timefield": "@timestamp",
"drop_last_bucket": 0,
"gauge_color_rules": [
{
Expand All @@ -202,6 +231,7 @@
"id": "61ca57f0-469d-11e7-af02-69e470af7417",
"index_pattern": "metricbeat-*",
"interval": "1d",
"isModelInvalid": false,
"series": [
{
"axis_position": "right",
Expand All @@ -222,7 +252,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "aws.s3_daily_storage.bucket.name",
"terms_field": "aws.s3.bucket.name",
"terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417",
"terms_size": "5"
}
Expand All @@ -232,18 +262,18 @@
"time_field": "@timestamp",
"type": "top_n"
},
"title": "AWS S3 Daily Storage Bucket Size in Bytes",
"title": "S3 Daily Storage Bucket Size in Bytes [Metricbeat AWS]",
"type": "metrics"
}
},
"id": "2dbb8f90-4760-11e9-8062-c98a86cb6f94",
"migrationVersion": {
"visualization": "7.0.0"
"visualization": "7.4.2"
},
"references": [],
"type": "visualization",
"updated_at": "2019-09-12T21:13:42.937Z",
"version": "Wzc0MzQsN10="
"updated_at": "2020-04-06T16:01:45.966Z",
"version": "Wzg2NCwyXQ=="
},
{
"attributes": {
Expand Down Expand Up @@ -276,10 +306,13 @@
"id": "01dad830-4761-11e9-bf81-69a4e579cab5"
}
],
"default_index_pattern": "metricbeat-*",
"default_timefield": "@timestamp",
"drop_last_bucket": 0,
"id": "61ca57f0-469d-11e7-af02-69e470af7417",
"index_pattern": "metricbeat-*",
"interval": "1d",
"isModelInvalid": false,
"series": [
{
"axis_position": "right",
Expand All @@ -300,7 +333,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "aws.s3_daily_storage.bucket.name",
"terms_field": "aws.s3.bucket.name",
"terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417",
"terms_size": "5"
}
Expand All @@ -310,18 +343,18 @@
"time_field": "@timestamp",
"type": "top_n"
},
"title": "AWS S3 Daily Storage Number of Objects",
"title": "S3 Daily Storage Number of Objects [Metricbeat AWS]",
"type": "metrics"
}
},
"id": "3a3914d0-4761-11e9-8062-c98a86cb6f94",
"migrationVersion": {
"visualization": "7.0.0"
"visualization": "7.4.2"
},
"references": [],
"type": "visualization",
"updated_at": "2019-09-12T21:13:42.937Z",
"version": "Wzc0MzUsN10="
"updated_at": "2020-04-06T16:15:51.106Z",
"version": "WzkwMywyXQ=="
},
{
"attributes": {
Expand Down Expand Up @@ -354,6 +387,8 @@
"id": "67cb0930-4761-11e9-bf81-69a4e579cab5"
}
],
"default_index_pattern": "metricbeat-*",
"default_timefield": "@timestamp",
"drop_last_bucket": 0,
"gauge_color_rules": [
{
Expand All @@ -366,7 +401,8 @@
"id": "61ca57f0-469d-11e7-af02-69e470af7417",
"index_pattern": "metricbeat-*",
"interval": "1d",
"pivot_id": "aws.s3_request.bucket.name",
"isModelInvalid": false,
"pivot_id": "aws.s3.bucket.name",
"series": [
{
"axis_position": "right",
Expand All @@ -393,7 +429,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "aws.s3_request.bucket.name",
"terms_field": "aws.s3.bucket.name",
"terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417",
"terms_size": "5"
}
Expand All @@ -403,18 +439,18 @@
"time_field": "@timestamp",
"type": "top_n"
},
"title": "AWS S3 Request Latency Total Request in ms",
"title": "S3 Request Latency Total Request in ms [Metricbeat AWS]",
"type": "metrics"
}
},
"id": "2b2d58b0-4762-11e9-8062-c98a86cb6f94",
"migrationVersion": {
"visualization": "7.0.0"
"visualization": "7.4.2"
},
"references": [],
"type": "visualization",
"updated_at": "2019-09-12T21:13:42.937Z",
"version": "Wzc0MzYsN10="
"updated_at": "2020-04-06T16:24:42.835Z",
"version": "WzkxMiwyXQ=="
},
{
"attributes": {
Expand Down Expand Up @@ -484,12 +520,12 @@
},
"id": "81d83c70-4762-11e9-8062-c98a86cb6f94",
"migrationVersion": {
"visualization": "7.0.0"
"visualization": "7.4.2"
},
"references": [],
"type": "visualization",
"updated_at": "2019-09-12T21:13:42.937Z",
"version": "Wzc0MzcsN10="
"updated_at": "2020-04-03T21:29:11.214Z",
"version": "WzIwOCwyXQ=="
},
{
"attributes": {
Expand Down Expand Up @@ -559,12 +595,12 @@
},
"id": "8b34a100-4762-11e9-8062-c98a86cb6f94",
"migrationVersion": {
"visualization": "7.0.0"
"visualization": "7.4.2"
},
"references": [],
"type": "visualization",
"updated_at": "2019-09-12T21:13:42.937Z",
"version": "Wzc0MzgsN10="
"updated_at": "2020-04-03T21:29:11.214Z",
"version": "WzIwOSwyXQ=="
},
{
"attributes": {
Expand Down Expand Up @@ -626,12 +662,12 @@
},
"id": "6e3285d0-4763-11e9-8062-c98a86cb6f94",
"migrationVersion": {
"visualization": "7.0.0"
"visualization": "7.4.2"
},
"references": [],
"type": "visualization",
"updated_at": "2019-09-12T21:18:08.498Z",
"version": "Wzc3NTgsN10="
"updated_at": "2020-04-03T21:29:11.214Z",
"version": "WzIxMCwyXQ=="
},
{
"attributes": {
Expand Down Expand Up @@ -664,10 +700,13 @@
"id": "c7b9fca0-4763-11e9-b811-fd5d24a641d7"
}
],
"default_index_pattern": "metricbeat-*",
"default_timefield": "@timestamp",
"drop_last_bucket": 0,
"id": "61ca57f0-469d-11e7-af02-69e470af7417",
"index_pattern": "metricbeat-*",
"interval": "1d",
"isModelInvalid": false,
"series": [
{
"axis_position": "right",
Expand All @@ -689,7 +728,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "aws.s3_request.bucket.name",
"terms_field": "aws.s3.bucket.name",
"terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417",
"terms_size": "5"
}
Expand All @@ -699,19 +738,19 @@
"time_field": "@timestamp",
"type": "top_n"
},
"title": "AWS S3 Total Requests",
"title": "S3 Total Requests [Metricbeat AWS]",
"type": "metrics"
}
},
"id": "d186fd50-4763-11e9-8062-c98a86cb6f94",
"migrationVersion": {
"visualization": "7.0.0"
"visualization": "7.4.2"
},
"references": [],
"type": "visualization",
"updated_at": "2019-09-12T21:13:42.937Z",
"version": "Wzc0NDAsN10="
"updated_at": "2020-04-06T16:25:02.532Z",
"version": "WzkxMywyXQ=="
}
],
"version": "7.3.0"
"version": "7.7.0"
}

0 comments on commit 528b2d7

Please sign in to comment.