New Relic Integration
This documentation provides step-by-step instructions on how to integrate New Relic as an audit logger within the DronaHQ platform.
Introduction
New Relic integration allows you to capture and manage logs efficiently in your DronaHQ modules. Follow the steps below to set up New Relic 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 New Relic account.
Configuration Steps
To get started with New Relic integration, follow these steps:
Open your New Relic account and navigate to the Add Data section, under logging section select
Logs API
. Generate a new API key if you don't already have one.Copy the New Relic API key.
To make HTTPS call copy https endpoint ex. https://log-api.newrelic.com/log/v1
Keep your API key secure and do not share it publicly.
To configure New Relic as your audit logger, follow these steps:
Under the
Audit Logger
section, click onSetup External Logging.
In the "Select Logger Configuration" dropdown, choose "New Relic."
![Audit logger Dropdown select](/assets/images/dropdown-logger2-4632be3dd473cb937ab4c2df12efae17.png)
Provide the necessary connection details for New Relic, including the API key and any other required information.
Click the "Create Integration" button to initiate the integration process.
Once the integration is successful, you will see a
Logger Initialized
message.
![New Relic Setup](/assets/images/newrelic-setup-6e382159444965a1e5288fd6be136cae.png)
![Audit Logger Setup](/assets/images/audit-logger-setup-84621ac2d6f73218efb46adc393221a8.png)
Expected log in New Relic:
![External log Output](/assets/images/output-newrelic-6e6c8b0d4b86770dfea007ce5d0a057c.png)
Testing New Relic Integration
You can test the New Relic integration to ensure it's functioning as expected:
Within the External Logging settings, look for the
Test
button and input custom log details.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 New Relic as an audit logger in your DronaHQ account, enhancing your log management capabilities.
Note: Ensure that you provide accurate New Relic connection details for a smooth integration experience.