Event Management¶
CloudCasa records an event for each important thing that happens in your organization, such as a job that fails, a recovery point that is deleted, a policy that is changed, or a user who logs in. You can review the recorded events in the Event list page (see Event List).
The Event management page allows you to send selected events to other places, which are called event destinations. An event destination can be one of the following:
Email recipients, such as the users of your organization or a list of email addresses
A SIEM, log analytics, or monitoring product, such as Splunk, IBM QRadar, Microsoft Sentinel, or Datadog
An incident management or IT operations tool, such as PagerDuty or ServiceNow
A chat application, such as Slack or Microsoft Teams
A cloud storage bucket, such as Amazon S3, Azure Blob Storage, or Google Cloud Storage
A custom webhook, HTTP Event Collector (HEC), or syslog server
For each destination, you choose which events it receives.
From the menu bar, click Configuration/Event management.
Note
The Event management page is only available to users with the ADMIN role. For more information about user roles, see Roles.
The list of event destinations¶
Each row in the list shows the following information about an event destination:
- Name
The name of the destination. The description is displayed under the name. Click the name to edit the destination.
- Product
The product that receives the events, for example, Email, Splunk, or IBM QRadar.
- State
The current delivery state of the destination:
Active - The destination is delivering events, or is waiting for new events. If the last verification failed, the badge is gray and has a red exclamation icon.
Degraded - Delivery to the destination failed many times in a row. CloudCasa keeps retrying, and keeps undelivered events for up to 72 hours.
Suspended auth - The destination refused the credentials (for example, HTTP 401 or 403). CloudCasa stops delivering events until you fix the settings.
Suspended config - The destination address or settings are not correct (for example, HTTP 404), or the destination refused too many events in a row. CloudCasa stops delivering events until you fix the settings.
Disabled - The destination is turned off.
Hover over the badge to see more details, such as the number of delivered events, the number of events waiting to be sent, the result of the last verification, and the last error.
When a destination becomes degraded or suspended, CloudCasa raises an alert. After you change the destination settings, it becomes active again.
- Last success
The date and time when an event was last delivered to the destination.
You can search for destinations by name, and filter the list by product, state, and other fields using the Filter button.
To see the actions available for a destination, hover over the Actions icon at the end of its row.
- Disable / Enable
Turns the destination off or on. A disabled destination keeps its settings but does not send any events. When you enable an email destination again, it only sends events that occur from that moment. When you enable any other destination again, it also sends the events that occurred while it was disabled, as long as CloudCasa still keeps them.
- Verify
Checks the connection to the destination. See Verifying a destination.
- Edit
Opens the destination settings.
- Remove
Deletes the destination. Delivery stops, but the recorded events are kept in the Event list. This action is not available for the default Alert emails destination.
The default Alert emails destination¶
Every organization has an email destination named Alert emails, which CloudCasa creates automatically. By default, it emails every new alert to the users of the organization who have the Send alerts via email option turned on in their User Settings (see User Settings). Alerts that occur within about a minute of each other are grouped into one email.
See also
Alerts are raised in situations such as failed, skipped, or partial backups and restores, clusters that stop responding, DR plan inventory failures, or event destinations that stop delivering events. For the list of alert types, see Alert types. For more information about alerts, see Alerts.
You cannot delete the Alert emails destination, but you can change it or disable it. If you disable it, CloudCasa does not send alert emails to the users of your organization.
Note
Alerts about your license and payments, such as an exceeded node count quota or a failed payment, are always emailed to every user of the organization, even if the Alert emails destination is disabled.
To change the Alert emails destination, click its name or select Edit from its actions. The Edit event destination pane opens. It has the Destination, Events, and Summary steps. When you edit a destination, you can go directly to any step by clicking its name.
- Destination
In Send to, select the recipients of the emails:
- Organization users with alert emails turned on
Emails are sent to every user of your organization who has the Send alerts via email option turned on in their User Settings. This is the default.
- Email addresses
Emails are sent to a list of addresses that you enter. Select users of your organization from the list, or type any other email address and press Enter. The addresses can belong to people outside of your organization. You can enter up to 50 addresses.
Note
On the CloudCasa SaaS service, sending events to a list of email addresses requires a paid service plan.
Under Advanced options, you can set the maximum number of Events per email and how many seconds CloudCasa waits to collect events before it sends an email (Wait before sending (seconds)).
- Events
Select the events that are sent to the destination. By default, the Alert emails destination receives only new alerts. You can add other events, for example, jobs whose cancellation was requested. See Selecting events.
- Summary
Review the settings. You can change the Name and Description of the destination, and turn it on or off with the Enabled toggle.
Click Save & Verify to save the changes and verify the destination.
Adding an event destination¶
To send events to another place, take the following steps:
In the Event management page, click Add destination. The Add event destination pane opens.
In the Product step, select the Destination type:
- Integration
A ready-to-use configuration for a SIEM, log analytics, monitoring, or incident management product. CloudCasa fills in most of the settings, such as the message format and the authentication method, so you only need to provide the details of your account, such as the address and credentials. Available products: Checkmk, CrowdStrike Falcon, Datadog, Devo, Elastic, Exabeam, Google Security Operations, Grafana Loki, Graylog, IBM QRadar, Microsoft Sentinel, PagerDuty, Palo Alto Networks Cortex XSIAM, Panther, Rapid7 InsightIDR, ServiceNow, Splunk, and Sumo Logic.
- Object Storage
Events are written as files to a cloud storage bucket. Available products: Amazon S3 (and S3-compatible storage), Azure Blob Storage, and Google Cloud Storage.
- Notification
Events are sent as messages to people. Available products: Email, Slack, and Microsoft Teams.
- Custom
You configure all settings yourself. Use this type when your product is not on the Integration list. Available products: Webhook, HTTP Event Collector, Syslog, and Export API. With Export API, CloudCasa does not send the events; instead, your product pulls them from the CloudCasa API using an API key with the
events.readpermission.
Then select the Product. In the following steps, a custom Webhook is used as an example.
Some products can receive events in more than one way. For these products, you also select the Transport. For example, IBM QRadar can receive events as LEEF over syslog, or can poll the CloudCasa export API (Universal Cloud REST API).
The steps and fields of the wizard depend on the product and transport you select. For example, a syslog destination has a Host and Port instead of a URL, and an email destination has no Access and Format steps.
Note
You cannot change the destination type, the product, or the transport after the destination is created.
Click Next.
In the Destination step, enter where the events are sent. The fields depend on the product:
For a webhook or an HTTP Event Collector, enter the URL and select the HTTP Method (Post or Put). Under Advanced options, you can add extra HTTP headers and change the timeout. For Slack and Microsoft Teams, enter the Webhook URL.
For a syslog server, enter the Host and Port, and select the Transport: TLS, TCP (not encrypted), or UDP (not encrypted). Use TLS unless the network is trusted.
For a cloud storage bucket, select the Provider and enter the Bucket (or Container for Azure), the Prefix (folder), and how often CloudCasa writes a new file.
Note
On the CloudCasa SaaS service, addresses on private networks are not allowed. The destination must be reachable from the internet.
Click Next.
In the Access step, enter how CloudCasa authenticates to the destination.
Under Authentication, select one of the following methods and enter the required values:
None
Secret in a header (API key) - The header name, an optional value prefix, and the secret
Bearer token
User name and password
Signed requests (HMAC SHA-256) - The signing key
OAuth2 client credentials - The token URL, client ID, client secret, and optional scope
Secret in the URL - The secret that replaces
{secret}in the URL
For integration products, CloudCasa preselects the method that the product uses. For a cloud storage bucket, enter the credentials of the bucket instead.
Under Encryption, you can enter a CA certificate (PEM) if the destination uses a certificate signed by a private certificate authority. Under Advanced options, you can also configure a client certificate for mutual TLS.
Note
CloudCasa stores secrets encrypted and never displays them again. If you change the address of an existing destination, you must enter its secrets again.
Click Next.
In the Format step, select the message format. For a webhook, enter the following items:
- Event shape
The format of each event, for example, Plain JSON, Elastic ECS, OCSF, CEF, or LEEF.
- Request body
How events are placed in a request: JSON array, One event per line, or One event per request.
- Compress with gzip
Select this option to compress the requests.
For integration products, CloudCasa selects the format that the product expects, so in most cases you do not need to change it.
Under Batch settings, you can set how many events and bytes CloudCasa sends in one request, and how many seconds it waits to collect events before sending them.
Click Next.
In the Events step, select the events that are sent to the destination. See Selecting events. Click Next.
In the Summary step, review the settings, and enter the following items:
- Name
The name of the destination.
- Description (optional)
A description which appears under the name in the list of destinations.
- Enabled
Turn this off if you do not want the destination to send events yet.
Click Save & Verify. CloudCasa saves the destination and verifies it. See Verifying a destination.
Selecting events¶
In the Events step, the events are grouped into the following categories: Jobs, Recovery points, Clusters, Configuration, Security, Alerts, and Integration. The number next to each category shows how many of its events are selected, for example, 4/5.
To select or clear one event, click its checkbox.
To select or clear all events in a category, click the checkbox next to the category name.
To collapse or expand a category, click the arrow on the right. To collapse or expand all categories, click Collapse all or Expand all.
To return to the default selection, click Reset to defaults.
Some events have a question mark icon. Hover over it to see when the event is sent. For example, job updates are only sent when the job ends in a particular state.
The default selection depends on the destination type:
Email destinations receive every new alert.
All other destinations receive a recommended selection of events, which includes jobs that end in a failed, partial, skipped, or canceled state, deleted, locked, and unlocked recovery points, added and removed clusters, changes to the CloudCasa configuration, all alerts, failed logins, denied requests, and problems with event destinations. Successful logins and logouts are not included.
In the Summary step, the Events field shows Every alert, Recommended selection, or the number of selected events if you changed the selection.
Verifying a destination¶
When you click Save & Verify, CloudCasa first saves the destination, and then checks the connection to it. You can also verify an existing destination at any time by selecting Verify from its actions.
If the settings are not valid, the destination is not saved and the Not saved message is displayed with the reason. Click Back to correct the settings.
If the verification succeeds, the Saved and verified message is displayed with the result of the check, for example, Connected. Click Close. The new destination appears in the list of destinations.
When you verify an existing destination from its actions, the Verified message is displayed.
If the verification fails, the destination is still saved. Click Edit settings to correct the settings, or Try again to repeat the check.
What the verification checks depends on the destination:
For an HTTP Event Collector, CloudCasa checks the URL and the token.
For OAuth2 authentication, CloudCasa obtains a token and connects to the destination.
For other webhooks, CloudCasa checks that it can connect to the destination. The credentials and the path are not checked.
For a syslog server, CloudCasa connects to the server, and checks the TLS handshake if TLS is used. For UDP, CloudCasa can only check that the address resolves.
For a cloud storage bucket, CloudCasa writes a test file named
_cloudcasa_verify.jsonunder the prefix.For email, CloudCasa checks that email can be sent and that the destination has recipients.
Alert types¶
CloudCasa raises alerts in situations such as the following.
Alert type |
Raised when |
|---|---|
|
A backup job fails, completes only partially, or is skipped. |
|
A restore job fails or is skipped. |
|
A cluster stops responding to CloudCasa. |
|
CloudCasa can no longer access a linked AWS account. |
|
An update is available for the CloudFormation stack of a linked AWS account. |
|
The deletion of an expired recovery point is postponed. |
|
The deletion of a snapshot is skipped, for example, because the snapshot is in use. |
|
The inventory of a DR plan fails. |
|
A storage consistency group contains volumes that are not part of the DR plan inventory. |
|
An event destination keeps failing, stops delivering events, or has events that have waited more than a day. |
|
A payment fails or succeeds, or the payment card is about to expire. |