API Management Service Logs

Azure API Management (APIM) is a hybrid, multi cloud management platform for APIs across all environments. It provides a scalable, multi-cloud API management platform for securing, publishing, and analyzing APIs.

Azure API Management helps customers:

  • Abstract backend architecture diversity and complexity from API consumers
  • Securely expose services hosted on and outside of Azure as APIs
  • Protect, accelerate, and observe APIs
  • Enable API discovery and consumption by internal and external users

Azure API Management is made up of an API gateway, a management plane, and a developer portal. These components are Azure-hosted and fully managed by default.

Overview

You can send Azure API Management Service logs to Parseable via Azure Event Hub & Azure Logic Apps. Once logs are unified in Parseable, you can easily monitor and analyze the logs in real-time, and get insights into the performance and usage of your APIs.

Most importantly, you have full ownership and control over this data, so you can use it to improve your API management and security, without cost or privacy concerns.

Pre-requisites

Before you begin, you will need the following:

Send Azure APIM Service Logs to Event Hub

  1. Navigate to the Azure API Management Service in the Azure portal.
  2. Click on the Diagnostics settings under the Monitoring section.
  3. Configure the APIM service to send logs to the Event Hub. Refer the image below for more information.

Now that events are being sent to the Event Hub, we'll use Azure Logic Apps to send these events to Parseable.

Use Azure Logic Apps to send events to Parseable

  1. Navigate to the Azure Logic Apps in the Azure portal.
  2. Click on the + Add button to create a new Logic App.
  3. Configure the Logic App to trigger when an event is received in the Event Hub. Refer the image below for more information. We have used the When events are available in Event Hub trigger to start the Logic App.

With this, you should now be able to see the APIM service logs in Parseable. You can now monitor and analyze the logs in real-time, and get insights into the performance and usage of your APIs. You have a detailed view of the API management and security, without cost or privacy concerns.

Updated on