---
title: Signals
description: A signal is an event record produced when one or more events match the criteria of a detection rule, such as multiple failed sign-in attempts from one user.
canonical_url: https://docs.databricks.com/aws/en/lakewatch/detections/signals
---

# Signals

> [!NOTE]
> **Beta**
>
> Lakewatch is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md). Workspace admins can control access to this feature from the **Previews** page. See [ Manage workspace-level previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md#workspace).

A *signal* is an event record produced when one or more events match the criteria of a [detection rule](https://docs.databricks.com/aws/en/lakewatch/detections/manage-detection-rules.md), such as multiple failed sign-in attempts from a specific user. Each signal is one row returned by the rule and includes a summary of the detected behavior, the event time, the rule that produced it, its severity, and event context. Signals can exist without an associated [alert](https://docs.databricks.com/aws/en/lakewatch/alerts/index.md), for example when the rule is suppressed and no matching alert is open.

To view signals, go to **Alerts** and open an alert to see its related signals. To query signals directly, use the [`signals` view](https://docs.databricks.com/aws/en/lakewatch/detections/signals.md#signals-system-table). Signals that don't belong to an alert, such as signals from a rule whose alerts are suppressed, don't appear in the UI, so query the view to find them.

## <a id="signal-deduplication" />Signal deduplication

Scheduled rules support signal deduplication. [Streaming rules](https://docs.databricks.com/aws/en/lakewatch/detections/streaming-detection-rules.md) create a signal for each matching row without deduplication.

Two signals are duplicates when the same rule produces identical values across all detection output fields within the deduplication time window. Deduplication applies within a single rule. Different rules don't deduplicate signals against each other.

When Lakewatch detects a duplicate, it skips that signal entirely: no new signal is inserted and no alert is opened or updated.

Deduplication is distinct from [signal grouping](https://docs.databricks.com/aws/en/lakewatch/alerts/index.md#how-are-alerts-created), which happens later. A matching summary only leads to deduplication when the rest of the output row matches, too. A matching summary alone leads to grouping.

* **Deduplication**: Runs when signals are created and drops a signal only when it matches an existing signal across *every* detection-output field. Two signals that share a summary but differ in any other fields are both created.
* **Signal grouping**: Runs later and organizes the surviving signals into alerts using the summary, rule ID, and rule version. A signal attaches to an existing alert only when that alert is still open and was opened within the [collation window](https://docs.databricks.com/aws/en/lakewatch/alerts/index.md#how-are-alerts-created). Signals that share the opening signal's summary attach to the same alert, even when their other fields differ.

Deduplication prevents duplicate signals when a scheduled rule's runs cover overlapping time ranges. This can happen in several situations, such as when a rule looks back further than its schedule interval to catch late-arriving data, or when a run is delayed or rerun.

### Turn deduplication on or off

Deduplication is on by default for scheduled rules. Use the rule's **Deduplication** setting to turn deduplication on or off. In the rule's [YAML](https://docs.databricks.com/aws/en/lakewatch/detections/scheduled-detection-rules.md#yaml), set `deduplication` to one of these values:

* `DEDUPLICATION_ENABLED`: Deduplicate this rule's signals. `DEDUPLICATION_DEFAULT`, or leaving the field unset, behaves the same way.
* `DEDUPLICATION_DISABLED`: Never deduplicate this rule's signals.

For where to set this value, see [Configure deduplication](https://docs.databricks.com/aws/en/lakewatch/detections/scheduled-detection-rules.md#deduplication).

### <a id="deduplication-time-window" />Deduplication time window

The time window controls how far back Lakewatch looks for an identical signal. By default, the window is automatic and capped at 7 days:

* If the rule's SQL uses `IN_TIMERANGE`, the window covers every run that can select the same row again. It's 2× the schedule interval plus the rule's [`extend_lookback`](https://docs.databricks.com/aws/en/lakewatch/detections/scheduled-detection-rules.md#extend-the-window-with-extend_lookback), or 3× the schedule interval if that's longer. An unset `extend_lookback` counts as its 15-minute default.
* Otherwise, the window is 3× the rule's schedule interval.

For example, a rule that runs hourly uses a 3-hour window, and a rule that runs daily uses a 3-day window. A rule that runs every 30 minutes with an `extend_lookback` of `5h30m` scans 6 hours of event time on each run, so its automatic window is 6 hours and 30 minutes.

Lakewatch can't see a lookback that's written into the SQL itself, such as `WHERE time > TIMERANGE_NOW() - INTERVAL 6 HOURS`. For these rules, set a custom window at least as long as the lookback. Otherwise, the same row can produce a new signal each time the window expires while the row is still in the query's range.

To set the window yourself, set **Deduplication time window** to **Custom**, then enter a number and select **Minutes**, **Hours**, or **Days**. The window can't exceed 7 days. In the rule's YAML, set `deduplication_time_window` to a duration such as `1h`, `24h`, or `7d`. Databricks recommends leaving the window on **Automatic** unless the lookback is written into the SQL.

## <a id="signals-system-table" />Signals view

Query signals using the `<catalog>.__lakewatch.signals` view, where `<catalog>` is your Lakewatch environment's catalog. The view contains signals produced by rules in that catalog, including signals without an associated alert. It holds metadata about signals and the IDs of their associated alerts. Query it to analyze signals, correlate them with alerts, and build custom reports or dashboards.

To view and manage alerts, use the [Alerts page](https://docs.databricks.com/aws/en/lakewatch/alerts/index.md#working-with-alerts) in the UI.

## Additional resources

* [Alerts](https://docs.databricks.com/aws/en/lakewatch/alerts/index.md)
* [Manage detection rules](https://docs.databricks.com/aws/en/lakewatch/detections/manage-detection-rules.md)
