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

How to do it...

Perform the following steps:

  1. Navigate to the Azure portal (http://portal.azure.com) and sign in.
  2. In the Azure portal, type Log Analytics in the Search resources search field and select your workspace.
  1. In the Log Analytics blade for your workspace, click the Log Search button to take you to the search field:
Figure 2.1
  1. In the search field, conduct a simple search by typing Perf, a simple, table-based query to return all performance data, and click Search.

Perf is a table-based query that filters the data in the Azure Log Analytics repository and returns all records from the Perf table. As can be seen in the following screenshot, the query returns hundreds of thousands of results from the data. Because the result data in the tables is categorized by fields that are organized into columns in the table, you can further search for specific data by using the data fields and filters in your query:

Figure 2.2

To better visualize how the Log Analytics data is structured, you can run the same query in the Analytics Portal. To do this, follow steps 1-4 again. Meanwhile, in the Log Search field:

  1. Conduct a simple search by typing a simple, table-based query—Perf—to return all performance data and click Search.
  1. Click on the Advanced Analytics link uder the log search box:
Figure 2.3

This will open the Analytics portal, in which the first 10,000 records of your query result will be displayed. Importantly, you will be able to review the results and determine, at a glance, the structure, table schema, and content of the queried table, as seen in the following screenshot:

Figure 2.4

For illustration purposes, many of the queries created in this chapter will be both constructed and visualized in the Analytics portal.

主站蜘蛛池模板: 文安县| 钦州市| 兴文县| 东阳市| 吴川市| 奉节县| 江达县| 北宁市| 稷山县| 托克托县| 云霄县| 会昌县| 衡阳市| 兴宁市| 黑龙江省| 繁峙县| 乐昌市| 新野县| 明溪县| 巴彦县| 彭阳县| 江川县| 新邵县| 鹤峰县| 永登县| 长沙市| 鹤峰县| 固原市| 辉南县| 大渡口区| 庐江县| 陇川县| 磐安县| 钦州市| 镇原县| 广德县| 德江县| 昔阳县| 双桥区| 新营市| 南岸区|