---
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
---

# Analysis Monitor

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

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

{% /callout %}

{% 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 %}

## Overview{% #overview %}

{% alert level="danger" %}
Datasets that include Flex Logs are not supported.
{% /alert %}

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

## 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)
