aws rds metricsetedit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

The rds metricset of aws module allows you to monitor your AWS RDS service. rds metricset fetches a set of values from Amazon RDS Metrics. Amazon RDS sends metrics and dimensions to Amazon CloudWatch every minute.

AWS Permissionsedit

Some specific AWS permissions are required for IAM user to collect AWS RDS metrics.

cloudwatch:GetMetricData
ec2:DescribeRegions
rds:DescribeDBInstances

Dashboardedit

The aws rds metricset comes with a predefined dashboard.

metricbeat aws rds overview

Configuration exampleedit

- module: aws
  period: 60s
  metricsets:
    - rds
  access_key_id: '<access_key_id>'
  secret_access_key: '<secret_access_key>'
  session_token: '<session_token>'

Fieldsedit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "aws": {
        "rds": {
            "cpu": {
                "total": {
                    "pct": 3
                }
            },
            "database_connections": 0,
            "db_instance": {
                "arn": "arn:aws:rds:us-east-2:627959692251:db:test1",
                "class": "db.r5.large",
                "identifier": "test1",
                "status": "available"
            },
            "deadlocks": 0,
            "disk_usage": {
                "bin_log.bytes": 0
            },
            "free_local_storage.bytes": 32025966592,
            "freeable_memory.bytes": 4716777472,
            "latency": {
                "commit": 2.810083333333333,
                "ddl": 0,
                "dml": 0.08358333333333333,
                "insert": 0.08358333333333333,
                "select": 0.24081333333333332,
                "update": 0
            },
            "login_failures": 0,
            "queries": 8.966517224712922,
            "throughput": {
                "commit": 0,
                "ddl": 0,
                "delete": 0,
                "dml": 0,
                "insert": 0.4999333422210372,
                "network": 1.4,
                "network_receive": 0.6999825008749563,
                "network_transmit": 0.6999650017499125,
                "select": 2.498168010125908,
                "update": 0
            },
            "transactions": {
                "active": 0,
                "blocked": 0
            }
        }
    },
    "cloud": {
        "availability_zone": "us-east-2a",
        "provider": "aws",
        "region": "us-east-2"
    },
    "event": {
        "dataset": "aws.rds",
        "duration": 115000,
        "module": "aws"
    },
    "metricset": {
        "name": "rds"
    },
    "service": {
        "type": "aws"
    }
}