aws sqs metricsetedit

Warning

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 sqs metricset of aws module allows you to monitor your AWS SQS queues. sqs metricset fetches a set of values from Amazon SQS Metrics. CloudWatch metrics for Amazon SQS queues are automatically collected and pushed to CloudWatch every five minutes.

AWS Permissionsedit

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

cloudwatch:GetMetricData
cloudwatch:ListMetrics
ec2:DescribeRegions
sqs:ListQueues

Dashboardedit

The aws sqs metricset comes with a predefined dashboard. For example:

./images/metricbeat-aws-sqs-overview.png

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": {
        "sqs": {
            "empty_receives": 0,
            "messages": {
                "delayed": 0,
                "deleted": 0,
                "not_visible": 0,
                "received": 0,
                "sent": 0,
                "visible": 80
            },
            "oldest_message_age": {
                "sec": 83991
            },
            "queue": {
                "name": "elb-log-queue-20171218185917658900000001"
            },
            "sent_message_size": {
                "bytes": 976
            }
        }
    },
    "cloud": {
        "region": "us-east-1"
    },
    "event": {
        "dataset": "aws.sqs",
        "duration": 115000,
        "module": "aws"
    },
    "metricset": {
        "name": "sqs"
    },
    "service": {
        "name": "sqs",
        "type": "sqs"
    }
}