Use Amazon NAT Gateway to enable instances in a private subnet to connect to the internet, but prevent the internet from initiating connections with the instances.
Enable this integration to see all your NAT Gateway metrics in Datadog.
If you haven’t already, set up the Amazon Web Services integration first.
NATGateway
is checked under metric collection.Configure Amazon NAT Gateway to send logs either to a S3 bucket or to Cloudwatch.
Note: If you log to a S3 bucket, make sure that amazon_nat_gateway
is set as Target prefix.
If you haven’t already, set up the Datadog log collection AWS Lambda function.
Once the lambda function is installed, manually add a trigger on the S3 bucket or Cloudwatch log group that contains your Amazon NAT Gateway logs in the AWS console:
aws.natgateway.active_connection_count (count) | The total number of concurrent active TCP connections through the NAT gateway. Shown as connection |
aws.natgateway.active_connection_count.maximum (count) | The maximum number of concurrent active TCP connections through the NAT gateway. Shown as connection |
aws.natgateway.active_connection_count.minimum (count) | The minimum number of concurrent active TCP connections through the NAT gateway. Shown as connection |
aws.natgateway.bytes_in_from_destination (gauge) | The number of bytes received by the NAT Gateway from the destination. Shown as byte |
aws.natgateway.bytes_in_from_destination.sum (gauge) | The sum of bytes received by the NAT Gateway from the destination. Shown as byte |
aws.natgateway.bytes_in_from_source (gauge) | The number of bytes received by the NAT Gateway from the VPC clients. Shown as byte |
aws.natgateway.bytes_in_from_source.sum (gauge) | The sum of bytes received by the NAT Gateway from the VPC clients. Shown as byte |
aws.natgateway.bytes_out_to_destination (gauge) | The number of bytes sent through the NAT Gateway to the destination. Shown as byte |
aws.natgateway.bytes_out_to_destination.sum (gauge) | The sum of bytes sent through the NAT Gateway to the destination. Shown as byte |
aws.natgateway.bytes_out_to_source (gauge) | The number of bytes sent through the NAT Gateway to the VPC clients. Shown as byte |
aws.natgateway.bytes_out_to_source.sum (gauge) | The sum of bytes sent through the NAT Gateway to the VPC clients. Shown as byte |
aws.natgateway.connection_attempt_count (count) | The number of connection attempts made through the NAT gateway. Shown as attempt |
aws.natgateway.connection_attempt_count.sum (count) | The sum of connection attempts made through the NAT gateway. Shown as attempt |
aws.natgateway.connection_established_count (count) | The number of connections established through the NAT gateway. Shown as connection |
aws.natgateway.connection_established_count.sum (count) | The sum of connections established through the NAT gateway. |
aws.natgateway.error_port_allocation (count) | The number of times the NAT gateway could not allocate a source port. Shown as error |
aws.natgateway.error_port_allocation.sum (count) | The sum of times the NAT gateway could not allocate a source port. Shown as error |
aws.natgateway.idle_timeout_count (count) | The number of timeouts caused by connections going from active to idle state. Shown as timeout |
aws.natgateway.idle_timeout_count.sum (count) | The sum of timeouts caused by connections going from active to idle state. Shown as timeout |
aws.natgateway.packets_drop_count (count) | The number of packets dropped by the NAT Gateway. Shown as packet |
aws.natgateway.packets_drop_count.sum (count) | The sum of packets dropped by the NAT Gateway. Shown as packet |
aws.natgateway.packets_in_from_destination (count) | The number of packets received by the NAT Gateway from the destination. Shown as packet |
aws.natgateway.packets_in_from_destination.sum (count) | The sum of packets received by the NAT Gateway from the destination. Shown as packet |
aws.natgateway.packets_in_from_source (count) | The number of packets received by the NAT Gateway from the VPC clients. Shown as packet |
aws.natgateway.packets_in_from_source.sum (count) | The sum of packets received by the NAT Gateway from the VPC clients. Shown as packet |
aws.natgateway.packets_out_to_destination (count) | The number of packets sent through the NAT Gateway to the destination. Shown as packet |
aws.natgateway.packets_out_to_destination.sum (count) | The sum of packets sent through the NAT Gateway to the destination. Shown as packet |
aws.natgateway.packets_out_to_source (count) | The number of packets sent through the NAT Gateway to the VPC clients. Shown as packet |
aws.natgateway.packets_out_to_source.sum (count) | The sum of packets sent through the NAT Gateway to the VPC clients. Shown as packet |
The Amazon NAT Gateway integration does not include any events.
The Amazon NAT Gateway integration does not include any service checks.
Need help? Contact Datadog support.
On this Page