Conversation
…board (#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> (cherry picked from commit b8fb932)
9 tasks
Contributor
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
zmoog
approved these changes
Jul 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
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:
aws.ec2.cpu.total.pcthost.cpu.usagepercentaws.ec2.diskio.read.byteshost.disk.read.bytesbytesaws.ec2.diskio.write.byteshost.disk.write.bytesbytesaws.ec2.network.in.byteshost.network.ingress.bytesbytesaws.ec2.network.out.byteshost.network.egress.bytesbytesChecklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Author's Checklist
How to test this PR locally
Build Metricbeat
cd x-pack/metricbeat/ mage buildEnable AWS module
./metricbeat modules enable awsAnd update
modules.d/aws.ymlto only collect EC2 metrics.Set up
cloud.idandcloud.authto access Elastic Cloud, and deploy the dashboardsStart Metricbeat to collect metric values to visualize in the dashboard.
Missing
host.disk.*.bytesvalues?If the disk read|write visualizations are empty, it means there are not EC2 instances with instance store volumes running, so we're not getting the fields
host.disk.read.bytesandhost.disk.write.bytes.If you need to set up an EC2 instance for getting, you have to:
Here's what I did following https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/making-instance-stores-available-on-your-instances.html
Related issues
Screenshots
Here are the CPU usage, disk, network visualization displaying data.
This is an automatic backport of pull request #45117 done by [Mergify](https://mergify.com).