Monday, March 23, 2020

WHY- HOW to create Log Analytics Workspace in Azure

Create Log Analytics Workspace in Azure

 What is Log Analytics?

Log Analytics is an Azure service which collects and stores information/data from a set of different sources. Log analytics workspace is a place where we can store Azure Monitor log data These data are organized into tables created automatically. I’ll be showing that in this article how does it look like. Just for the sake of understanding I’ll be using term LA for Log analytics .
LA allows you to monitor, analyze, visualize and create alerts for that data.

Log Analytics diagram

1.      An image datasource.jpg depicted below can see a basic diagram of the Log Analytics service.
2.      The Agents send telemetry data from each guest OS to Log Analytics service
3.      Log Analytics service collect data and classifies the data into different tables
4.      With several tools, the End User can monitor, analyze, create reports, dashboards, alerts based on       the data.

An excerpt from each workspace has its own data repository and configuration, and data sources and solutions are configured to store their data in a particular workspace. You require a Log Analytics workspace if you intend on collecting data from the following sources:

1.      Azure resources in your subscription
2.      On-premises computers monitored by System Center Operations Manager
3.      Device collections from Configuration Manager
4.      Diagnostics or log data from Azure storage

Sign in to Azure portal

Sign in to the Azure portal at

Create a log analytics workspace

In the Azure portal, click All services. In the list of resources, type Log Analytics. As you begin typing, the list filters based on your input. Select Log Analytics workspaces.

 Click Add, and then select choices for the following items:

1.    Provide a name for the new Log Analytics workspace, such as dotnetpiperLAWorkspace. This name must be globally unique across all Azure Monitor subscriptions.

2.   Select a Subscription to link to by selecting from the drop-down list if the default selected is not appropriate.

3.   For Resource Group, choose to use an existing resource group already setup or create a new one.

4.  Select an available Location.

5.  If you are creating a workspace in a new subscription created after April 2, 2018, it will automatically use the Per GB pricing plan and the option to select a pricing tier will not be available. If you are creating a workspace for an existing subscription created before April 2, or to subscription that was tied to an existing Enterprise Agreement (EA) enrollment, select your preferred pricing tier. For more information about the particular tiers, see Log Analytics Pricing Details.

After providing the required information on the Log Analytics Workspace pane, click OK.
Refer an images create-la.jpg below to create LA

Once you click on Create New it will open a new windows to fill all essentials details Refer an image LA.jpg below for more understanding

You can verify the progress from the notification menu just in the right corner of portal as depicted below: 

Go to resource group whichever you have created , it should persist there.In the upcoming article we will see how to enable Windows and Linux performance counter from azure portal.

Upcoming Articles
·         Enable Windows and Linux performance counter from azure portal.
·         Install and Configure MMA agent with Log Analytic Workspace
·         LA based table structure and execution of KUSTO Query. 


Post a Comment