Skip to main content

Sentry Logger Integration

This documentation provides step-by-step instructions on how to integrate Sentry Logger as an audit logger within the DronaHQ platform.

Introduction

Sentry Logger integration allows you to capture and manage logs efficiently in your DronaHQ modules. Follow the steps below to set up Sentry Logger as your audit logger.

Prerequisites

Before you begin, ensure that you have the following prerequisites in place:

  • A DronaHQ account with an Enterprise Plan.
  • Access to a Sentry account.
  • Sentry connection details.

Configuration Steps

To get started with Sentry Logger integration, follow these steps:

  1. Create a new project or select an existing one to send your logs to.

  2. Obtain the Sentry DSN (Data Source Name). You will need this DSN to configure the integration.

Select DSN of sentry
Select DSN of sentry

To configure Sentry Logger as your audit logger, follow these steps:

  1. Under the Audit Logger section, click on Setup External Logging.

  2. In the "Select Logger Configuration" dropdown, choose "Sentry Logger."

Audit logger Dropdown select
Audit logger Dropdown select
  1. Provide the Sentry DSN in the appropriate field.

  2. Click the "Create Integration" button to initiate the integration process.

  3. Once the integration is successful, you will see a Logger Initialized message.

Sentry Setup
Audit Logger Setup
Audit Logger Setup

Expected log in Sentry Logger:

External log Output
External log Output

Testing Sentry Logger Integration

You can test the Sentry Logger integration to ensure it's functioning as expected:

  1. Within the External Logging settings, look for the Test button and input custom log details.

  2. Log specific details such as event names, user information, organization ID, and more. This data will be useful for monitoring and analysis.

By following these steps, you can seamlessly integrate Sentry Logger as an audit logger in your DronaHQ account, enhancing your log management capabilities.

Note: Ensure that you provide accurate Sentry Logger connection details for a smooth integration experience.