Skip to main content

Azure Database for MariaDB

Azure Database for MariaDB icon

Azure Database for MariaDB is a relational database service in the Microsoft cloud based on the MariaDB community edition. This integration helps in identifying slow queries, tracking database-level activity, including connection, administration, data definition language (DDL), and data manipulation language (DML) events.

Log and metric types

For Azure Database for MariaDB, you can collect the following logs and metrics:

  • Audit logs. To learn more about the different fields collected for Azure Database for MariaDB, refer to the Azure documentation.
  • Slow Query logs. To learn more about the different log types and schemas collected for Azure Database for MySQL, refer to the Azure documentation.
  • Platform Metrics for Azure Database for MariaDB. These metrics are available in Microsoft.DBforMariaDB/servers namespace. For more information on supported metrics and dimensions, refer to the Azure documentation.

Setup

Configure collector

Create a hosted collector if not already configured. Make sure you create the required sources in this collector.

Configure logs collection

Azure service sends monitoring data to Azure Monitor, which can then stream data to Eventhub. Sumo Logic supports collecting logs from Azure Monitor using our Azure Event Hubs source.

You must explicitly enable diagnostic settings for each Azure Database for MariaDB server you want to monitor. You can forward logs to the same event hub provided they satisfy the limitations and permissions as described here.

When you configure the event hubs source, plan your source category to ease the querying process. A hierarchical approach allows you to make use of wildcards. For example: Azure/DatabaseForMariaDB/Logs.

In this section, you will configure a pipeline for shipping diagnostic logs from Azure Monitor to an Event Hub.

  1. To enable slow query logs, refer to the Azure documentation.
  2. To set up the Azure Event Hubs source in Sumo Logic, refer to Azure Event Hubs Source for Logs.
  3. To create the Diagnostic settings in Azure portal, refer to the Azure documentation. Perform the steps below for each Azure Database for MariaDB server that you want to monitor.
    • Choose Stream to an event hub as the destination.
    • Select MySqlSlowLogs and MySqlAuditLogs.
    • Use the Event hub namespace and Event hub name configured in previous step in destination details section. You can use the default policy RootManageSharedAccessKey as the policy name.

Configure metrics collection

When you configure the Azure Metrics Source, plan your source category to ease the querying process. A hierarchical approach allows you to make use of wildcards. For example: Azure/DatabaseForMariaDB/Metrics.

To set up the Azure Metrics source in Sumo Logic, refer to Azure Metrics Source.

Troubleshooting

Metrics collection via Azure Metrics Source

To troubleshoot metrics collection via Azure Metrics Source, follow the instructions in Troubleshooting Azure Metrics Source.

Status
Legal
Privacy Statement
Terms of Use
CA Privacy Notice

Copyright © 2026 by Sumo Logic, Inc.