Azure Log Analytics
Learn about an important monitoring tool, Azure Log Analytics.
To get operational monitoring into action, we need logs from our resources. Azure Monitor helps us analyze the performance using data generated from monitored resources. Azure offers the integration of various resources with Log Analytics so we can have a detailed tracking of our architecture setup.
Log Analytics is a monitoring tool in Azure Portal that’s used to edit and run log queries on collected logs. We can write a simple query that will return the set of records, and we can use the features of Log Analytics to sort and filter the data. In case we want to analyze the data using charts, we have that option as well.
Setting up a Log Analytics workspace
Let’s talk about another important container i.e., Log Analytics workspace. It’s a container where data is collected from a variety of sources like Azure resources, on-premises resources, and third-party services.
Follow the steps given below to create one, using both Azure Portal and Azure CLI.
Using Azure Portal
-
Navigate over to Azure Portal and log in.
-
On the Azure home page, click the “Create a resource” button. This will open a marketplace. Search “Log Analytics workspace” in the search box or scroll down to find it.
-
Click “Create” under “Log Analytics Workspace.” This will open up a form for you to ...