Azure Log Analytics
Logmanagers Azure Log Analytics Component utilizes the Azure Monitor Logs service to pull activity logs from Azure environments: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-platform-logs.
The LM Azure component connects to your Log Analytics Workspace (https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-platform-logs#log-analytics-workspace) and queries the AzureActivity table at 30-second intervals (https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/azureactivity).
Logs pulled from the AzureActivity
table provide insights into operations executed against each Azure resource in your subscription. This data helps you determine what action was taken, by whom, and when.
Logs collected via this component only contain information about activities in the Azure environment. Logs generated within individual resources (e.g., Nginx logs on a virtual machine) are not collected. You will need a separate solution to collect such logs.
LM Azure Log Analytics component uses Azure API to retrieve logs from Log Analytics Workspace. Therefore, authentication and proper API permissions are required:
- Create Log Analytics Workspace: https://learn.microsoft.com/en-gb/azure/azure-monitor/logs/quick-create-workspace?tabs=azure-portal
- Set up authentication and assign API permissions: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/api/access-api?tabs=rest#set-up-authentication. When registering the application, make sure to save the “client secret” generated during this step. You’ll need it later.
With authentication configured and API permissions granted, you can now add a new Azure Log Analytics component configuration:
- In the Logmanager UI, navigate to:
Sources → Azure Log Analytics → Create New
. - Fill in the following fields and save:
Workspace ID
andSubscription ID
- available inAzure → Log Analytics Workspace → Overview
Client ID
andTenant ID
- found underEntra → App Registrations → <your app name> → Overview
Client Secret
- created in step 2
With the component configuration complete, start forwarding logs to your Log Analytics Workspace, from where the LM Azure Log Analytics component can collect them:
- Go to
Azure → Monitor → Activity Log
and clickExport Activity Log
- Click
Add Diagnostic Setting
- Give it a meaningful name
- Select log categories you are interested in. Some categories can be very noisy and may not provide useful information. You can learn more about log categories here: https://learn.microsoft.com/en-us/azure/azure-monitor/platform/activity-log-schema#categories
- In
Destination details
selectSend to Log Analytics workspace

Diagnostic setting