- Microsoft Azure Administrator:Exam Guide AZ-103
- Sjoukje Zaal
- 313字
- 2021-06-24 14:01:59
Utilizing Log Search Query functions
Azure Monitor is now integrated with the features and capabilities that Log Analytics was offering. This also includes creating search queries across the different logs and metrics by using the Kusto Query Language.
To retrieve any type of data from Azure Monitor, a query is required. Whether you are configuring an alert rule, analyzing data in the Azure portal, retrieving data using the Azure Monitor Logs API, or being notified of a particular condition, a query is used.
The following list provides an overview of all the different ways queries are used by Azure Monitor:
- Portal: From the Azure portal, an interactive analysis of log data can be performed. In there, you can create and edit queries and analyze the results in a variety of formats and visualizations.
- Dashboards: The results of a query can be pinned to a dashboard. This way, results can be visualized and shared with other users.
- Views: By using the View Designer in Azure Monitor, you can create custom views of your data. This data is provided by queries as well.
- Alert rules: Alert rules are also made up of queries.
- Export: Exports of data to Excel or PowerBI are created with queries. The query defines the data to export.
- Azure Monitor Logs API: The Azure Monitor Logs API allows any REST API client to retrieve log data from the workspace. The API request includes a query to retrieve the data.
- PowerShell: You can run a PowerShell script from a command line or an Azure Automation runbook that uses Get-AzOperationalInsightsSearchResults to retrieve log data from Azure Monitor. You need to create a query for this cmdlet to retrieve the data.
In the following section, we are going to create some queries to retrieve data from the logs in Azure Monitor.
推薦閱讀
- 嵌入式Linux開發技術
- Windows Server 2012 Hyper-V:Deploying the Hyper-V Enterprise Server Virtualization Platform
- Windows Vista基礎與應用精品教程
- 從零開始寫Linux內核:一書學透核心原理與實現
- 精解Windows 8
- PLC控制系統應用與維護
- Windows Server 2012 Hyper-V Cookbook
- 新手易學:系統安裝與重裝
- Linux集群和自動化運維
- 計算機系統開發與優化實戰
- Microsoft Operations Management Suite Cookbook
- 無蘋果不生活 The New iPad隨身寶典
- Kali Linux高級滲透測試
- Learn CUDA Programming
- 電腦辦公(Windows 7+Office 2016)入門與提高