# Notifications

Spyderbat's notification system has 3 main components:

* [**Notification Targets**](https://docs.spyderbat.com/concepts/notifications/notification-targets): Named destinations to where notifications can be sent.
* [**Notification Templates**](https://docs.spyderbat.com/concepts/notifications/notification-templates): Templates that define the structure and content of notifications, simplifying the setup process.

### Notifiable Objects:

Spyderbat allows users to set up Notifications for the below to stay informed about important events in their Spyderbat Organization.

Here are 3 types of notifiable objects:

#### 1. Saved Queries

**What it is**: Predefined searches to track specific patterns or behaviors in your data.

**Why it’s useful**: Automates monitoring by notifying you when new activity matches the query.

**Example**: Get notified when there’s unusual inbound connection.

#### 2. Custom Flags

**What it is**: Custom flags enable users to create tailored detection rules to monitor activities or behaviors specific to their environment.

**Why it’s useful**: Helps focus on what matters to you, like unusual commands or risky actions.

**Example**: Flag and alert when someone runs a command that requires high privileges.

#### 3. Agent Health Notifications

**What it is**: Alerts about the health and status of Spyderbat agents.

**Why it’s useful**: Ensures agents are functioning properly and sending data.

**Example**: Get notified if an agent goes "Offline" or to "Critical" state.

Note: To Learn How to Configure Notifications for Agent Health using Spyctl [Refer here](https://docs.spyderbat.com/tutorials/notifications/how-to-set-up-agent-health-notifications-in-spyctl)

### Quick Start Tutorial

To quickly get started using using Spyderbat Notifications follow our tutorial using spyctl.

[How to setup Spyderbat Notifications (Spyctl CLI)](https://docs.spyderbat.com/tutorials/notifications/how-to-set-up-spyderbat-notifications-spyctl)
