Skip to content

HTTP Action

Integrating HTTP Action notifications allows users to receive timely updates or alerts directly to a specified server endpoint. By setting up HTTP Action notifications with specific trigger conditions, you can ensure that you are instantly informed about critical events, such as operation completions or anomalies detected. This approach enables you to take immediate action when necessary, helping to address issues quickly and maintain the smooth and efficient operation of your processes.

Step 1: Log in to your Qualytics account and click the “Notification Rules” button on the left side panel of the interface.

Setting Setting

Add HTTP Action Notification

Step 1: Click on the “Add Notifications” button located in the top right corner.

Add Noti Add Noti

A modal window, “Add Notification Rule” will appear, providing options to set notification rules.

Modal-Window Modal-Window

Step 2: Enter the following details to add the notification rule.

1. Name: Enter a specific and descriptive title to your notification rule to easily identify its purpose.

2. Description: Provide a brief description of what the notification rule does or when it should trigger.

Screenshot Screenshot

3. Trigger When: Select the event or condition from the dropdown menu that will trigger the notification. Below is the list of available events you can choose from:

  • Operation Completion: This type of notification is triggered whenever an operation, such as a catalog, profile, or scan, is completed on a source datastore. Upon completion, teams are promptly notified through in-app notifications and, the HTTP Action. For example, the team is notified whenever the catalog operation is completed, helping them proceed with the profile operation on the datastore.

  • An Anomaly is Identified: This type of notification is triggered when any single anomaly is identified in the data. The notification message typically includes the type of anomaly detected and the datastore where it was found. It provides specific information about the anomaly type, which helps quickly understand the issue's nature.

Tip

Users can specify a minimum anomaly weight for this trigger condition. This threshold ensures that only anomalies with a weight equal to or greater than the specified value will trigger a notification. If no value is set, all detected anomalies, regardless of their weight, will generate notifications. This feature helps prioritize alerts based on the importance of the anomalies, allowing users to focus on more critical issues. |

Tip

Users can specify check rule types for this trigger condition. This selection ensures that only anomalies identified by the chosen rule types will trigger a notification. If no check rule types are selected, this filter will be ignored, resulting in all anomalies generating notifications. This feature enables users to prioritize alerts based on specific criteria, allowing them to focus on the most relevant issues.

  • Anomalies are Detected in a Table or File: This notification is triggered when multiple anomalies are detected within a specific table, file and check rule types. It includes information about the number of anomalies found and the specific scan target within the datastore. This is useful for assessing the overall health of a particular datastore. No concept of weights.
Factors An Anomaly is Identified Anomalies are Detected in a Table or File
Trigger Event Notifies for individual anomaly detection Notifies for multiple anomalies within a specific table or file
Notification Content Focuses on the type of anomaly and the affected datastore. Provide a count of anomalies and specifies the scan target within the datastore.
Notification Targeting Tags, Weight and Check Rule Types Tags, Check Rule Types or both

Screenshot Screenshot

4. Message: Enter your custom message using variables in the Message field, where you can specify the content of the notification that will be sent out.

Tip

You can write your custom notification message by utilizing the autocomplete feature. This feature allows you to easily insert internal variables such as {{ rule_name }}, {{ container_name }}, and {{ datastore_name }}. As you start typing, the autocomplete will suggest and recommend relevant variables in the dropdown.

Screenshot Screenshot

5. Datastore Tags: Use the drop-down menu to select the datastore tags. Notifications will be generated for only those source datastores that have the datastore tags you select in this step. For example, if you select “critical” datastore tag from the dropdown menu, notifications will be generated only for source datastores having the "critical" tag applied to them.

Note

If you choose "An Anomaly is Detected" as the trigger condition, you must define the Anomaly Tag, set a minimum anomaly weight, and select the check rule types. This ensures that only anomalies with a weight equal to or greater than the specified value and matching the selected check rule types will trigger a notification. If no weight or check rule types are specified, these filters will be ignored.

Screenshot Screenshot

6. Notification Channel: Select “HTTP Action” as your notification channel and enter the details where you want the notification to be sent.

Screenshot Screenshot

Step 3: Enter the following detail where you want the notification to be sent.

1. Action URL: Enter the “Action URL” in this field, which specifies the server endpoint for the HTTP request, defining where data will be sent or retrieved. It must be correctly formatted and accessible, including the protocol (http or https), domain, and path.

2. HTTP Verbs: HTTP verbs specify the actions performed on server resources. Common verbs include:

  • POST: Use POST to send data to the server to create something new. For example, it's used for submitting forms or uploading files. The server processes this data and creates a new resource.

  • PUT: Updates or creates a resource, replacing it entirely if it already exists. For example, updating a user’s profile information or creating a new record with specific details.

  • GET: Retrieves data from the server without making any modifications. For example, requesting a webpage or fetching user details from a database.

Screenshot Screenshot

3. Username: Enter the username needed for authentication.

4. Auth Type: This field specifies how to authenticate requests. Choose the method that fits your needs:

  • Basic: Uses a username and password sent with each request. Example: “Authorization: Basic ”.

  • Bearer: Uses a token included in the request header to access resources. Example: “Authorization: Bearer ”.

  • Digest: Provides a more secure authentication method by using a hashed combination of the username, password, and request details. Example: Authorization: Digest username=" ", realm=" ", nonce=" ", uri=" ", response=" ".

Screenshot Screenshot

5. Secret: Enter the password or token used for authentication. This is paired with the Username and Auth Type to securely access the server. Keep the secret confidential to ensure security.

Screenshot Screenshot

Test HTTP Action Notification

Step 1: Click the "Test Notification" button to verify the correctness of the Action URL. If the URL is correct, a confirmation message saying "Notification successfully sent" will appear, confirming that the HTTP action is set up and functioning properly.

Screenshot Screenshot

If you enter an incorrect Action URL, you will receive a failure message. For example, if you enter an incorrect URL endpoint like “test-message”, you will see a failure message indicating "failure: HTTP action returned 404: {"error": "Error: Endpoint not found with that path and method"}." This message shows that the specified endpoint could not be found.

Screenshot Screenshot

Save HTTP Action Notification

Once you have provided all the necessary values, set the trigger conditions for the notification, and verify the correctness of the Action URL, click the "Save" button.

Screenshot Screenshot

After clicking the “Save” button, a success message will be displayed saying "Notification Successfully Created".

Screenshot Screenshot