Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

newrelic-experimental/newrelic-azure-logs-integration

Repository files navigation

Depracated: DO NOT USE. Please see newrelic-azure-functions

New Relic Experimental header

New Relic Logs for Azure EventHub

New Relic Logs offers an integration to forward log messages from Azure EventHub to New Relic Logs. This allows you to collect logs from all your Azure services (except App services) and view them in New Relic Logs.

Disclaimer

New Relic has open-sourced this integration to enable monitoring of this technology. This integration is provided AS-IS WITHOUT WARRANTY OR SUPPORT, although you can report issues and contribute to this integration via GitHub. Support for this integration is available with an Expert Services subscription.

Requirements

To use New Relic Logs with the New Relic Logs Azure EventHub integration, ensure your configuration meets the following requirements:

Create Azure Event Hub

  • Create an Azure Event Hub
  • Create newrelic_logs_consumer_group consumer group in the event hub for use by New Relic Logs Azure Function
  • Configure your Azure services to forward their logs to the Event Hub

Install the New Relic Logs Azure Function

Edit Constants.cs file and update the following properties

  • EVENT_HUB_NAME
  • CONSUMER_GROUP

Publish the function app.

Configure the Azure Function

Edit New Relic Logs Azure Function's App Service Settings to ensure valid values for these properties

  • EVENT_HUB_CONNECTION_STRING

  • NR_LICENSE_KEY

  • NR_LOGGING_ENDPOINT

View log data

If everything is configured correctly and your data is being collected, you should see data logs in the New Relic Logs UI or by going to Insights and querying:

SELECT * FROM Log

What's next?

Query your data and create custom dashboards, charts, or alerts.

Releases

No releases published

Packages

 
 
 

Languages