---
title: Amazon Machine Learning
description: Enables developers of all levels to use machine learning technology with ease.
breadcrumbs: Docs > Integrations > Amazon Machine Learning
---

# Amazon Machine Learning

## Overview{% #overview %}

AWS Machine Learning is a service that makes it easy for developers of all skill levels to use machine learning technology.

Enable this integration to see in Datadog all your Machine Learning metrics.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Amazon Web Services integration first](https://docs.datadoghq.com/integrations/amazon_web_services/).

### Metric collection{% #metric-collection %}

1. In the [AWS integration page](https://app.datadoghq.com/integrations/amazon-web-services), ensure that `ML` is enabled under the `Metric Collection` tab.
1. Install the [Datadog - AWS Machine Learning integration](https://app.datadoghq.com/integrations/amazon-machine-learning).

### Log collection{% #log-collection %}

#### Enable logging{% #enable-logging %}

Configure AWS Machine Learning to send logs either to a S3 bucket or to CloudWatch.

**Note**: If you log to a S3 bucket, make sure that `amazon_machine_learning` is set as *Target prefix*.

#### Send logs to Datadog{% #send-logs-to-datadog %}

1. If you haven't already, set up the [Datadog Forwarder Lambda function](https://docs.datadoghq.com/logs/guide/forwarder/).

1. Once the Lambda function is installed, manually add a trigger on the S3 bucket or CloudWatch log group that contains your AWS Machine Learning logs in the AWS console:

   - [Add a manual trigger on the S3 bucket](https://docs.datadoghq.com/logs/guide/send-aws-services-logs-with-the-datadog-lambda-function/#collecting-logs-from-s3-buckets)
   - [Add a manual trigger on the CloudWatch Log Group](https://docs.datadoghq.com/logs/guide/send-aws-services-logs-with-the-datadog-lambda-function/#collecting-logs-from-cloudwatch-log-group)

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **aws.ml.predict\_count**(count)          | The number of observations received by Amazon ML.                      |
| **aws.ml.predict\_failure\_count**(count) | The number of invalid or malformed observations received by Amazon ML. |

Each of the metrics retrieved from AWS are assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.

### Events{% #events %}

The AWS Machine Learning integration does not include any events.

### Service Checks{% #service-checks %}

The AWS Machine Learning integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).

## Further Reading{% #further-reading %}

- [Machine learning model monitoring: Best practices](https://www.datadoghq.com/blog/ml-model-monitoring-in-production-best-practices/)
