官术网_书友最值得收藏!

Viewing alerts in Log Analytics

Azure Log Analytics is a service that collects telemetry data from various Azure resources and on-premises resources. All of that data is stored inside a Log Analytics workspace, which is based on the Azure Data Explorer. It uses the Kusto Query Language, which is also used by Azure Data Explorer to retrieve and analyze the data. 

Analyzing this data can be done from Azure Monitor. All the analysis functionalities are integrated in there. The term Log Analytics now primarily applies to the blade in the Azure portal where you can analyze metric data.

Before we are able to display, monitor, and query the logs from Azure Monitor, we need to create a Log Analytics workspace. For that, we have to perform the following steps:

  1. Navigate to the Azure portal by opening https://portal.azure.com.
  2. Click on Create a new resource.
  3. Type Log Analytics in the search box and create a new workspace.
  4. Add the following values:
    • Log Analytics workspacePacktWorkspace
    • Subscription: Select a subscription
    • Resource group: Create a new one and call it PacktWorkspace
    • Location: West US
    • Pricing tier: Keep the default one, which is per GB
  5. Click on the OK button to create the workspace.
You can also create this workspace from Azure Monitor. Go to the Azure Monitor blade, and under  Insights in the left-hand menu, select  More. When no workspace has been created, Azure will ask to create one.

Now that we have created a Log Analytics workspace, we can use it inside Azure Monitor to create some queries to retrieve data. We will do this in the next section.

主站蜘蛛池模板: 应城市| 大连市| 荔浦县| 肃宁县| 长兴县| 江西省| 丹江口市| 沙洋县| 辽中县| 江门市| 尉氏县| 南安市| 穆棱市| 滦平县| 花莲县| 达州市| 安泽县| 师宗县| 尤溪县| 洪湖市| 英吉沙县| 霍林郭勒市| 辽宁省| 铜陵市| 渑池县| 南木林县| 淮北市| 商水县| 湘阴县| 遂溪县| 随州市| 安阳县| 武义县| 尚志市| 南陵县| 抚顺县| 青铜峡市| 新巴尔虎右旗| 大邑县| 重庆市| 邯郸市|