Back to Beats

Docs

x-pack/metricbeat/module/aws/natgateway/_meta/docs.md

9.4.03.1 KB
Original Source

::::{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 natgateway metricset of aws module allows users to monitor NAT gateway services. NAT gateway metric data can be used to monitor and troubleshoot NAT gateways and the data is provided at 1-minute intervals to CloudWatch. Users can use these metrics to gain a better perspective on how the web application or service is performing.

AWS Permissions [_aws_permissions_9]

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

ec2:DescribeRegions
cloudwatch:GetMetricData
cloudwatch:ListMetrics
tag:getResources
sts:GetCallerIdentity
iam:ListAccountAliases

Dashboard [_dashboard_10]

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

Configuration example [_configuration_example_9]

yaml
- module: aws
  period: 1m
  metricsets:
    - natgateway
  # This module uses the aws cloudwatch metricset, all
  # the options for this metricset are also available here.

Metrics and Dimensions for NAT gateway [_metrics_and_dimensions_for_nat_gateway]

Metrics:

Metric NameStatistic MethodDescription
ActiveConnectionCountMaxThe total number of concurrent active TCP connections through the NAT gateway.
BytesInFromDestinationSumThe number of bytes received by the NAT gateway from the destination.
BytesInFromSourceSumThe number of bytes received by the NAT gateway from clients in your VPC.
BytesOutToDestinationSumThe number of bytes sent out through the NAT gateway to the destination.
BytesOutToSourceSumThe number of bytes sent through the NAT gateway to the clients in your VPC.
ConnectionAttemptCountSumThe number of connection attempts made through the NAT gateway.
ConnectionEstablishedCountSumThe number of connections established through the NAT gateway.
ErrorPortAllocationSumThe number of times the NAT gateway could not allocate a source port.
IdleTimeoutCountSumThe number of connections that transitioned from the active state to the idle state.
PacketsDropCountSumThe number of packets dropped by the NAT gateway.
PacketsInFromDestinationSumThe number of packets received by the NAT gateway from the destination.
PacketsInFromSourceSumThe number of packets received by the NAT gateway from clients in your VPC.
PacketsOutToDestinationSumThe number of packets sent out through the NAT gateway to the destination.
PacketsOutToSourceSumThe number of packets sent through the NAT gateway to the clients in your VPC.

Dimensions:

Dimension NameDescription
NatGatewayIdFilter the metric data by the NAT gateway ID.

Please see NAT Gateway CloudWatch Metrics for more details.