--- id: audit title: Azure Audit sidebar_label: Azure Audit description: The Sumo Logic app for Azure Audit allows you to collect Azure Audit logs and monitor the health of your Azure environment. slug: /help/docs/integrations/microsoft-azure/audit/ canonical: https://www.sumologic.com/help/docs/integrations/microsoft-azure/audit/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; Azure Audit icon The Azure Audit app allows you to collect data from the Azure Activity Log (formerly known as Azure Audit logs) and monitor the health of your Azure environment. This app provides preconfigured dashboards that allow you to monitor active directory activity, resource usage, service health, and user activity. ## Log type The Azure Audit app uses the following log: * [Azure Activity Log](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log?tabs=powershell) ## Collecting logs for the Azure Audit app from Event Hub In this step, you configure a pipeline for shipping logs from [Azure Monitor](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-get-started) to an Event Hub. 1. To set up the logs collection in Sumo Logic, refer to [Azure Event Hubs Source for Logs](/docs/send-data/collect-from-other-data-sources/azure-monitoring/ms-azure-event-hubs-source/). 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/AzureActivity/Logs`. 2. Push logs from Azure Monitor to Event Hub. 1. In the search bar, search, and select **Activity Log**. 1. In the **Activity Log** window, click **Export Activity Logs**.
Activity log 1. Select the log type in **Category details** that you want to ingest. 1. Select the **Stream to an event hub** checkbox and then select the following: * **Subscription**. Select a subscription. * **Event hub namespace**. Select the namespace. * **Event hub name (optional)**. Select the hub name. * **Event hub policy name**. Leave the default policy, **RootManageSharedAccessKey**, or select another as desired.
Diagnostic setting audit 1. Click **Save.** ## Installing the Azure Audit app Now that you have set up collection from the Azure Activity Log (previously known as Azure Audit logs), install the Azure Audit app to use the preconfigured searches and dashboards that provide insight into your data. import AppInstall2 from '../../reuse/apps/app-install-v2.md'; ## Viewing Azure Audit dashboards import ViewDashboards from '../../reuse/apps/view-dashboards.md'; ### Overview Use this dashboard to get a high-level view of the Azure activity by location, and details of events. Overview **Azure Activity by Source Location.** Performs a geo lookup operation to display the location of Azure activity by Source location on a map of the world for the last seven days. **Events by Level.** Displays events by level in a pie chart for the last seven days. **Events by Status.** Shows details on events by status in a stacked column chart on a timeline for the last seven days. **Events by Caller.** Provides details on events by caller in a stacked column chart on a timeline for the last seven days. **Events by Resource Group.** Displays details on events by Resource Group in a stacked column chart on a timeline for the last seven days. **Events by Category.** Shows details on events by category in a stacked column chart on a timeline for the last seven days. ### Resource Usage Use this dashboard to see the details on resource group and resource provider. Resource Usage **Events by Resource Group.** Displays details on events by Resource Group across time in a stacked column chart on a timeline for the last seven days. **Resource Group Events.** Shows Resource Group events in a pie chart for the last seven days. **Resource Provider Events.** Shows information on Resource Provider events in a pie chart for the last seven days. **Operations by Resource Group.** Shows details on operations by Resource Group by name and count in a stacked column chart for the last seven days. **Operations by Resource Provider.** Shows details on operations by Resource Provider by name and count for last seven days. **Resource Providers by Resource Group.** Displays details on Resource Providers by Resource Group by name and count in a stacked column chart for the last seven days. **Events by Resource Provider.** Displays details on events by Resource Provider across time in a stacked column chart on a timeline for the last seven days. ### Service Health Use this dashboard to see the details on Azure service health such as the level, status, and events. Service Health **Level.** Displays information by level in a pie chart for the last seven days. **Status.** Shows information by status in a pie chart for the last seven days. **Events Details.** Provides information on Azure service health events in a table chart, including details such as operation name, description, level, correlation ID, event name, location, status, and time for the last seven days. **Events Over Time.** Displays events over time in a column chart on a timeline for the last seven days. **Unresolved Events.** Provides information on unresolved service health events in a table chart, including details on correlation ID, level, event name, location, status, and time for the last 30 days. ### User Activity Use this dashboard to see the details on events, resources, and users. User Activity **Events by Location.** Performs a geo lookup operation to display user activity events by IP address location on a map of the world for the last seven days. **Resource Deletions.** Displays resource deletions in a pie chart for the last seven days. **Resource Creations.** Provides details on resource creations in a pie chart for the last seven days. **Top 10 Users.** Displays the top 10 users by name and event count in a bar chart for the last seven days. **Resource Groups by Caller.** Shows Resource Groups by caller in a stacked bar chart by name and count for the last seven days. **Events by User.** Provides details on events per user in an area chart on a timeline for the last seven days. **Operations by User.** Displays operations by user in a stacked column chart by name and count for the last seven days. ## Upgrade/Downgrade the Azure Audit app (Optional) import AppUpdate from '../../reuse/apps/app-update.md'; ## Uninstalling the Azure Audit app (Optional) import AppUninstall from '../../reuse/apps/app-uninstall.md';