---
title: Analysis Monitor
description: >-
  Alert on advanced log analysis with Analysis monitors that support querying
  multiple data sources, chaining data transformations, and running complex SQL
  queries.
breadcrumbs: Docs > Monitors > Monitor Types > Analysis Monitor
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Analysis Monitor

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

{% callout %}
# Important note for users on the following Datadog sites: app.datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, app.datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com

{% callout %}
##### Join the Preview!

The Analysis monitor is in Preview. You must have access to the Notebooks advanced querying feature to use this monitor.

[Request Access](https://www.datadoghq.com/product-preview/additional-advanced-querying-data-sources)
{% /callout %}

{% /callout %}

## Overview{% #overview %}

Analysis monitors offer full access to Notebook analysis features, allowing you to alert on complex data patterns that standard monitors may miss. With Analysis monitors, you can:

- Query multiple data sources
- Chain data transformations
- Run complex SQL queries
- Create sophisticated analysis workflows

## Supported data sources{% #supported-data-sources %}

Analysis monitors support a subset of the data sources available in Notebook Analysis cells. Because monitors evaluate their queries frequently, each data source is enabled only after it's validated to handle monitor-level query load.

The following data sources are supported:

- Audit
- CI Pipelines
- CI Tests
- Events
- LLM Observability
- Logs
- Metrics
- NetFlow
- Network
- Reference Tables
- RUM
- Service Checks
- Spans

Published datasets are supported only when every data source they depend on is also supported.

The following data sources are not supported:

- Dora Metrics
- Flex Logs
- Infrastructure Resources

If you select a dataset built on an unsupported data source, Datadog displays an error that names the source, for example:

`Dataset is based on an unsupported datasource for monitoring: Infrastructure Resources`

## Monitor creation{% #monitor-creation %}

You can create an Analysis monitor in two ways:

### From the Monitors page{% #from-the-monitors-page %}

To create an [Analysis monitor](https://app.datadoghq.com/monitors/create/dataset) in Datadog, use the main navigation: Monitors > New Monitor > Analysis.

### From a Notebook{% #from-a-notebook %}

To create an Analysis monitor directly from a Notebook:

1. Open a Notebook with an Analysis cell containing your desired query.
1. In the Analysis cell, click the dropdown arrow next to Save to Dashboard.
1. Select Create monitor.

This allows you to convert your exploratory analysis into an alerting monitor.

## Define the query{% #define-the-query %}

Analysis monitors use the same query interface as Notebook Analysis cells.

1. **Select your dataset**: Select from available Notebook Analysis cells.
1. **Filter your dataset**: Filter your results by column.
1. **Preview results**: View the output of your query before setting alert conditions.

{% image
   source="https://docs.dd-static.net/images/monitors/monitor_types/dataset/dataset_monitor_config.db13674618071e7f0c81fb1072275fc4.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/monitors/monitor_types/dataset/dataset_monitor_config.db13674618071e7f0c81fb1072275fc4.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Analysis monitor configuration example" /%}

## Set alert conditions{% #set-alert-conditions %}

Configure monitors to trigger when the query value crosses a threshold, and customize advanced alert options such as recovery thresholds and evaluation delays. For more information, see [Configure Monitors](https://docs.datadoghq.com/monitors/configuration.md).

## Notifications{% #notifications %}

For detailed instructions on alert messaging, see [Notifications](https://docs.datadoghq.com/monitors/notify.md).

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

- [Notebooks Advanced Analysis](https://docs.datadoghq.com/notebooks/advanced_analysis.md)
- [Learn how to configure monitors](https://docs.datadoghq.com/monitors/configuration.md)
- [Configure your monitor notifications](https://docs.datadoghq.com/monitors/notify.md)
