Using workspaces
Azure Log Analytics can be used as it is without provisioning any additional components. In this scenario, you may even be unaware of its existence as it’s incorporated into Azure Monitor in quite a seamless way. However, if you’d like to integrate it with other services (for instance, by deploying diagnostics settings and sending logs from services to a single place), you may be interested in creating a service called Azure Log Analytics Workspace. Let’s see how to use it.
Using Azure Log Analytics Workspace
To start using Azure Log Analytics Workspace, we’ll need to create it. Use the following command to deploy it inside your resource group:
az group create -l <location> -n <resource-group-name> az monitor log-analytics workspace create -n <workspace-name> \ -g <resource-group-name>
Once created, a workspace can be used as a data sink for logs generated by other services. To send logs from...