Skip to content

Commit b8fb932

Browse files
zmoogkaiyan-sheng
andauthored
[Metricbeat] Fix CPU/disk/network visualizations in EC2 overview dashboard (#45117)
Updates the CPU/disk/network metric field names in the "[Metricbeat AWS] EC2 Overview" dashboard. The "[Metricbeat AWS] EC2 Overview" dashboard that comes with the AWS modules was still using the old metric field names that are no longer in use, resulting in a dashboard with multiple empty visualizations. Here are the current changes: | Old | New | Formatter | | ---------------------------- | ---------------------------- | --------- | | `aws.ec2.cpu.total.pct` | `host.cpu.usage` | `percent` | | `aws.ec2.diskio.read.bytes` | `host.disk.read.bytes` | `bytes` | | `aws.ec2.diskio.write.bytes` | `host.disk.write.bytes` | `bytes` | | `aws.ec2.network.in.bytes` | `host.network.ingress.bytes` | `bytes` | | `aws.ec2.network.out.bytes` | `host.network.egress.bytes` | `bytes` | --------- Co-authored-by: kaiyan-sheng <kaiyan.sheng@elastic.co>
1 parent 2685f9c commit b8fb932

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

x-pack/metricbeat/module/aws/_meta/kibana/7/visualization/15818fd0-f7f9-11e8-af03-c999c9dea608-ecs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
"color": "rgba(104,188,0,1)",
3636
"fill": "0",
3737
"filter": "",
38-
"formatter": "number",
38+
"formatter": "bytes",
3939
"id": "61ca57f1-469d-11e7-af02-69e470af7417",
4040
"label": "AWS EC2 Network In Bytes",
4141
"line_width": "2",
4242
"metrics": [
4343
{
44-
"field": "aws.ec2.network.in.bytes",
44+
"field": "host.network.ingress.bytes",
4545
"id": "61ca57f2-469d-11e7-af02-69e470af7417",
4646
"type": "avg"
4747
}

x-pack/metricbeat/module/aws/_meta/kibana/7/visualization/233b3400-f7f9-11e8-af03-c999c9dea608-ecs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
"color": "rgba(104,188,0,1)",
3636
"fill": "0",
3737
"filter": "",
38-
"formatter": "number",
38+
"formatter": "bytes",
3939
"id": "61ca57f1-469d-11e7-af02-69e470af7417",
4040
"label": "AWS EC2 Network Out Bytes",
4141
"line_width": "2",
4242
"metrics": [
4343
{
44-
"field": "aws.ec2.network.out.bytes",
44+
"field": "host.network.egress.bytes",
4545
"id": "61ca57f2-469d-11e7-af02-69e470af7417",
4646
"type": "avg"
4747
}

x-pack/metricbeat/module/aws/_meta/kibana/7/visualization/be8828d0-f7f6-11e8-af03-c999c9dea608-ecs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"line_width": 1,
4141
"metrics": [
4242
{
43-
"field": "aws.ec2.cpu.total.pct",
43+
"field": "host.cpu.usage",
4444
"id": "61ca57f2-469d-11e7-af02-69e470af7417",
4545
"type": "avg"
4646
}
@@ -54,7 +54,7 @@
5454
"steps": 0,
5555
"terms_field": "cloud.instance.id",
5656
"terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417",
57-
"terms_size": "5"
57+
"terms_size": "10"
5858
}
5959
],
6060
"show_grid": 1,
@@ -76,4 +76,4 @@
7676
"type": "visualization",
7777
"updated_at": "2021-08-04T16:30:33.734Z",
7878
"version": "WzMzOTcsMV0="
79-
}
79+
}

x-pack/metricbeat/module/aws/_meta/kibana/7/visualization/f1db6ec0-f7f8-11e8-af03-c999c9dea608-ecs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
"language": "kuery",
3939
"query": ""
4040
},
41-
"formatter": "number",
41+
"formatter": "bytes",
4242
"id": "61ca57f1-469d-11e7-af02-69e470af7417",
4343
"label": "AWS EC2 DiskIO Read Bytes",
4444
"line_width": "2",
4545
"metrics": [
4646
{
47-
"field": "aws.ec2.diskio.read.bytes",
47+
"field": "host.disk.read.bytes",
4848
"id": "61ca57f2-469d-11e7-af02-69e470af7417",
4949
"type": "avg"
5050
}

x-pack/metricbeat/module/aws/_meta/kibana/7/visualization/fed59380-f7f8-11e8-af03-c999c9dea608-ecs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
"color": "rgba(104,188,0,1)",
3636
"fill": "0",
3737
"filter": "",
38-
"formatter": "number",
38+
"formatter": "bytes",
3939
"id": "61ca57f1-469d-11e7-af02-69e470af7417",
4040
"label": "AWS EC2 DiskIO Write Bytes",
4141
"line_width": "2",
4242
"metrics": [
4343
{
44-
"field": "aws.ec2.diskio.write.bytes",
44+
"field": "host.disk.write.bytes",
4545
"id": "61ca57f2-469d-11e7-af02-69e470af7417",
4646
"type": "avg"
4747
}

0 commit comments

Comments
 (0)