Azure Monitor 中视图设计器可视化部件的参考指南Reference guide to View Designer visualization parts in Azure Monitor

在 Azure Monitor 中使用视图设计器即可在 Azure 门户中创建各种自定义视图,使 Log Analytics 工作区中的数据可视化。By using View Designer in Azure Monitor, you can create a variety of custom views in the Azure portal that can help you visualize data in your Log Analytics workspace. 本文针对自定义视图中可用的可视化部件,提供设置方面的参考指南。This article is a reference guide to the settings for the visualization parts that are available in your custom views.

有关视图设计器的详细信息,请参阅:For more information about View Designer, see:

  • 视图设计器:概述了视图设计器以及创建和编辑自定义视图的过程。View Designer: Provides an overview of View Designer and procedures for creating and editing custom views.
  • 磁贴参考:针对自定义视图中的每个可用磁贴,提供了设置方面的参考。Tile reference: Provides a reference to the settings for each available tile in your custom views.

下表描述了可用的视图设计器磁贴类型:The available View Designer tile types are described in the following table:

视图类型View type 说明Description
查询列表List of queries 显示日志查询的列表。Displays a list of log queries. 可以选择每个查询以显示其结果。You can select each query to display its results.
数字和列表Number and list 标头具有单个数字,用于表示来自日志查询中的记录数。The header displays a single number that shows a count of records from a log query. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.
两个数字和列表Two numbers and list 标头显示两个数字,用于表示来自单独日志查询中的记录数。The header displays two numbers that show counts of records from separate log queries. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.
圆环图和列表Donut and list 标头显示从日志查询中的值列汇总的单个数字。The header displays a single number that summarizes a value column in a log query. 此圆环图以图形方式显示了前三个记录的结果。The donut graphically displays results of the top three records.
两条时间线和列表Two timelines and list 标头将一段时间内两个日志查询的结果显示为带有标注的柱形图,以显示从日志查询中的值列汇总的单个数字。The header displays the results of two log queries over time as column charts, with a callout that displays a single number that summarizes a value column in a log query. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.
信息Information 标头显示静态文本和可选的链接。The header displays static text and an optional link. 列表显示带有静态文本和标题的一个或多个项。The list displays one or more items with a static title and text.
折线图、标注和列表Line chart, callout, and list 标头显示一段时间内来自一个日志查询中的具有多个系列的折线图和具有汇总值的标注。The header displays a line chart, with multiple series from a log query over time and a callout with a summarized value. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.
折线图和列表Line chart and list 标头显示一段时间内来自一个日志查询中的具有多个系列的折线图。The header displays a line chart, with multiple series from a log query over time. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.
折线图的堆栈部分Stack of line charts part 显示一段时间内来自一个日志查询中的具有多个系列的三个独立折线图。Displays three separate line charts, with multiple series from a log query over time.

后续部分将详细介绍磁贴类型及其属性。The next sections describe the tile types and their properties in detail.

Note

视图中的部件基于 Log Analytics 工作区中的日志查询Parts in views are based on log queries in your Log Analytics workspace.

查询列表部分List of queries part

查询列表部件显示日志查询的列表。The list of queries part displays a list of log queries. 可以选择每个查询以显示其结果。You can select each query to display its results. 默认情况下,视图将包括单个查询,可以选择“+ 查询”添加其他查询 。The view includes a single query by default, and you can select + Query to add additional queries.

查询列表视图

设置Setting 说明Description
常规General
标题Title 在视图顶部显示的文本。The text that's displayed at the top of the view.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
预选择的筛选器Pre-selected filters 选择查询时左侧筛选器窗格中包含的以逗号分隔的属性列表。A comma-delimited list of properties to include in the left filter pane when you select a query.
呈现模式Render mode 选择查询时显示的初始视图。The initial view that's displayed when the query is selected. 打开查询后,可以选择任意可用视图。You can select any available views after they open the query.
查询Queries
搜索查询Search query 要运行的查询。The query to run.
友好名称Friendly name 显示的描述性名称。The descriptive name that's displayed.

数字和列表部件Number and list part

标头具有单个数字,用于表示来自日志查询中的记录数。The header displays a single number that shows a count of records from a log query. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.

查询列表视图

设置Setting 说明Description
常规General
组标题Group title 在视图顶部显示的文本。The text that's displayed at the top of the view.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
图标Icon 标头中的结果旁边显示的图像文件。The image file that's displayed next to the result in the header.
使用图标Use Icon 选择此链接可显示图标。Select this link to display the icon.
标题Title
图例Legend 标头顶部显示的文本。The text that's displayed at the top of the header.
查询Query 针对标头运行的查询。The query to run for the header. 显示由查询返回的记录数。The count of the records that are returned by the query is displayed.
点击导航Click-through navigation 单击标题时执行的操作。Action taken when you click on the header. 有关详细信息,请参阅通用设置For more information, see Common Settings.
列表List
查询Query 针对列表运行的查询。The query to run for the list. 将显示结果中前十个记录的前两个属性。The first two properties for the first ten records in the results are displayed. 第一个属性应为文本值,第二个属性应为数值。The first property is a text value, and the second property is a numeric value. 根据数值列的相关值自动创建条形图。Bars are automatically created that are based on the relative value of the numeric column.

在查询中使用 Sort 命令可对列表中的记录进行排序。Use the Sort command in the query to sort the records in the list. 可以选择“全部查看”来运行查询并返回所有记录 。To run the query and return all records, you can select See all.
隐藏图形Hide graph 选择此链接可禁用数值列右侧的图形。Select this link to disable the graph at the right of the numeric column.
启用迷你图Enable sparklines 选择此链接可显示迷你图而不是水平条。Select this link to display a sparkline instead of a horizontal bar. 有关详细信息,请参阅通用设置For more information, see Common Settings.
颜色Color 条形或迷你图的颜色。The color of the bars or sparklines.
名称和值分隔符Name and value separator 若要将文本属性分析为多个值,则为单字符分隔符。The single-character delimiter to use to parse the text property into multiple values. 有关详细信息,请参阅通用设置For more information, see Common Settings.
点击导航Click-through navigation 单击列表中的项时执行的操作。Action taken when you click on an item in the list. 有关详细信息,请参阅通用设置For more information, see Common Settings.
列表List > 列标题> Column titles
NameName 第一列顶部显示的文本。The text that's displayed at the top of the first column.
ValueValue 第二列顶部显示的文本。The text that's displayed at the top of the second column.
列表List > 阈值> Thresholds
启用阈值Enable Thresholds 选择此链接可启用阈值。Select this link to enable thresholds. 有关详细信息,请参阅通用设置For more information, see Common Settings.

两个数字和列表部件Two numbers and list part

标头具有两个数字,用于表示来自单独日志查询中的记录数。The header has two numbers that display a count of records from separate log queries. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.

两个数字和列表视图

设置Setting 说明Description
常规General
组标题Group title 在视图顶部显示的文本。The text that's displayed at the top of the view.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
图标Icon 标头中的结果旁边显示的图像文件。The image file that's displayed next to the result in the header.
使用图标Use Icon 选择此链接可显示图标。Select this link to display the icon.
标题导航Title Navigation
点击导航Click-through navigation 单击标题时执行的操作。Action taken when you click on the header. 有关详细信息,请参阅通用设置For more information, see Common Settings.
标题Title
图例Legend 标头顶部显示的文本。The text that's displayed at the top of the header.
查询Query 针对标头运行的查询。The query to run for the header. 显示由查询返回的记录数。The count of the records that are returned by the query is displayed.
列表List
查询Query 针对列表运行的查询。The query to run for the list. 将显示结果中前十个记录的前两个属性。The first two properties for the first ten records in the results are displayed. 第一个属性应为文本值,第二个属性应为数值。The first property is a text value, and the second property is a numeric value. 根据数值列的相关值自动创建条形图。Bars are automatically created based on the relative value of the numeric column.

在查询中使用 Sort 命令可对列表中的记录进行排序。Use the Sort command in the query to sort the records in the list. 可以选择“全部查看”来运行查询并返回所有记录 。To run the query and return all records, you can select See all.
隐藏图形Hide graph 选择此链接可禁用数值列右侧的图形。Select this link to disable the graph at the right of the numeric column.
启用迷你图Enable sparklines 选择此链接可显示迷你图而不是水平条。Select this link to display a sparkline instead of a horizontal bar. 有关详细信息,请参阅通用设置For more information, see Common Settings.
颜色Color 条形或迷你图的颜色。The color of the bars or sparklines.
操作Operation 对迷你图执行的操作。The operation to perform for the sparkline. 有关详细信息,请参阅通用设置For more information, see Common Settings.
名称和值分隔符Name and value separator 若要将文本属性分析为多个值,则为单字符分隔符。The single-character delimiter to use to parse the text property into multiple values. 有关详细信息,请参阅通用设置For more information, see Common Settings.
点击导航Click-through navigation 单击列表中的项时执行的操作。Action taken when you click on an item in the list. 有关详细信息,请参阅通用设置For more information, see Common Settings.
列表List > 列标题> Column titles
NameName 第一列顶部显示的文本。The text that's displayed at the top of the first column.
ValueValue 第二列顶部显示的文本。The text that's displayed at the top of the second column.
列表List > 阈值> Thresholds
启用阈值Enable Thresholds 选择此链接可启用阈值。Select this link to enable thresholds. 有关详细信息,请参阅通用设置For more information, see Common Settings.

圆环图和列表部件Donut and list part

标头显示从日志查询中的值列汇总的单个数字。The header displays a single number that summarizes a value column in a log query. 此圆环图以图形方式显示了前三个记录的结果。The donut graphically displays results of the top three records.

圆环图和列表视图

设置Setting 说明Description
常规General
组标题Group title 在磁贴顶部显示的文本。The text that's displayed at the top of the tile.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
图标Icon 标头中的结果旁边显示的图像文件。The image file that's displayed next to the result in the header.
使用图标Use Icon 选择此链接可显示图标。Select this link to display the icon.
标头Header
标题Title 标头顶部显示的文本。The text that's displayed at the top of the header.
副标题Subtitle 标头顶部的标题下显示的文本。The text that's displayed under the title at the top of the header.
圆环图Donut
查询Query 要为该圆环图运行的查询。The query to run for the donut. 第一个属性应为文本值,第二个属性应为数值。The first property is a text value, and the second property is a numeric value.
点击导航Click-through navigation 单击标题时执行的操作。Action taken when you click on the header. 有关详细信息,请参阅通用设置For more information, see Common Settings.
圆环图Donut > 中心> Center
文本Text 在该圆环图中的值下显示的文本。The text that's displayed under the value inside the donut.
操作Operation 要在值属性上执行以汇总到单个值的操作。The operation to perform on the value property to summarize it as a single value.
  • 总和:添加所有记录的值。Sum: Adds the values of all records.
  • 百分比:用于中心操作的结果值中的值所返回的记录数占查询中的记录总数的比率。Percentage: The ratio of the records returned by the values in Result values used in center operation to the total records in the query.
用于中心操作的结果值Result values used in center operation (可选)选择加号 (+) 可添加一个或多个值。Optionally, select the plus sign (+) to add one or more values. 查询的结果将限于具有指定属性值的记录。The results of the query are limited to records with the property values you specify. 如果没有添加任何值,则查询中包含所有记录。If no values are added, all records are included in the query.
其他选项Additional options > 颜色> Colors
颜色 1Color 1
颜色 2Color 2
颜色 3Color 3
为圆环图中显示的每个值选择颜色。Select the color for each of the values that are displayed in the donut.
其他选项Additional options > 高级颜色映射> Advanced color mapping
字段值Field value 键入字段名,如果其包括在圆环图中,以不同的颜色进行显示。Type the name of a field to display it as a different color if it is included in the donut.
颜色Color 为唯一字段选择颜色。Select the color for the unique field.
列表List
查询Query 针对列表运行的查询。The query to run for the list. 显示由查询返回的记录数。The count of the records that are returned by the query is displayed.
隐藏图形Hide graph 选择此链接可禁用数值列右侧的图形。Select this link to disable the graph at the right of the numeric column.
启用迷你图Enable sparklines 选择此链接可显示迷你图而不是水平条。Select this link to display a sparkline instead of a horizontal bar. 有关详细信息,请参阅通用设置For more information, see Common Settings.
颜色Color 条形或迷你图的颜色。The color of the bars or sparklines.
操作Operation 对迷你图执行的操作。The operation to perform for the sparkline. 有关详细信息,请参阅通用设置For more information, see Common Settings.
名称和值分隔符Name and value separator 若要将文本属性分析为多个值,则为单字符分隔符。The single-character delimiter to use to parse the text property into multiple values. 有关详细信息,请参阅通用设置For more information, see Common Settings.
点击导航Click-through navigation 单击列表中的项时执行的操作。Action taken when you click on an item in the list. 有关详细信息,请参阅通用设置For more information, see Common Settings.
列表List > 列标题> Column titles
NameName 第一列顶部显示的文本。The text that's displayed at the top of the first column.
ValueValue 第二列顶部显示的文本。The text that's displayed at the top of the second column.
列表List > 阈值> Thresholds
启用阈值Enable Thresholds 选择此链接可启用阈值。Select this link to enable thresholds. 有关详细信息,请参阅通用设置For more information, see Common Settings.

两条时间线和列表部件Two timelines and list part

标头将一段时间内两个日志查询的结果显示为带有标注的柱形图,以显示从日志查询中的值列汇总的单个数字。The header displays the results of two log queries over time as column charts, with a callout that displays a single number that summarizes a value column in a log query. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.

两条时间线和列表视图

设置Setting 说明Description
常规General
组标题Group title 在磁贴顶部显示的文本。The text that's displayed at the top of the tile.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
图标Icon 标头中的结果旁边显示的图像文件。The image file that's displayed next to the result in the header.
使用图标Use Icon 选择此链接可显示图标。Select this link to display the icon.
标题导航Title Navigation
点击导航Click-through navigation 单击标题时执行的操作。Action taken when you click on the header. 有关详细信息,请参阅通用设置For more information, see Common Settings.
第一个图表
第二个图表
First chart
Second chart
图例Legend 在第一个序列的标注下显示的文本。The text that's displayed under the callout for the first series.
颜色Color 用于序列中的列的颜色。The color to use for the columns in the series.
查询Query 针对第一个序列运行的查询。The query to run for the first series. 每个时间间隔内记录数由图表列表示。The count of records over each time interval is represented by the chart columns.
操作Operation 对值属性执行的用于汇总到标注的单个值的操作。The operation to perform on the value property to summarize it as a single value for the callout.
  • 总和:所有记录中的值的总和。Sum: The sum of the values from all records.
  • 平均值:所有记录中的值的平均值。Average: The average of the values from all records.
  • 最后一个采样:图表中包含的最后一个时间间隔中的值。Last sample: The value from the last interval that's included in the chart.
  • 第一个采样:图表中包含的第一个时间间隔中的值。First sample: The value from the first interval that's included in the chart.
  • 计数:由查询返回的所有记录的计数。Count: The count of all records that are returned by the query.
列表List
查询Query 针对列表运行的查询。The query to run for the list. 显示由查询返回的记录数。The count of the records that are returned by the query is displayed.
隐藏图形Hide graph 选择此链接可禁用数值列右侧的图形。Select this link to disable the graph at the right of the numeric column.
启用迷你图Enable sparklines 选择此链接可显示迷你图而不是水平条。Select this link to display a sparkline instead of a horizontal bar. 有关详细信息,请参阅通用设置For more information, see Common Settings.
颜色Color 条形或迷你图的颜色。The color of the bars or sparklines.
操作Operation 对迷你图执行的操作。The operation to perform for the sparkline. 有关详细信息,请参阅通用设置For more information, see Common Settings.
点击导航Click-through navigation 单击列表中的项时执行的操作。Action taken when you click on an item in the list. 有关详细信息,请参阅通用设置For more information, see Common Settings.
列表List > 列标题> Column titles
NameName 第一列顶部显示的文本。The text that's displayed at the top of the first column.
ValueValue 第二列顶部显示的文本。The text that's displayed at the top of the second column.
列表List > 阈值> Thresholds
启用阈值Enable Thresholds 选择此链接可启用阈值。Select this link to enable thresholds. 有关详细信息,请参阅通用设置For more information, see Common Settings.

信息部分Information part

标头显示静态文本和可选的链接。The header displays static text and an optional link. 列表显示带有静态文本和标题的一个或多个项。The list displays one or more items with a static title and text.

信息视图

设置Setting 说明Description
常规General
组标题Group title 在磁贴顶部显示的文本。The text that's displayed at the top of the tile.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
颜色Color 标头的背景色。The background color for the header.
标头Header
映像Image 标头中显示的图像文件。The image file that's displayed in the header.
LabelLabel 标头中显示的文本。The text that's displayed in the header.
标头Header > 链接> Link
LabelLabel 链接文本。The link text.
UrlUrl 链接的 URL。The Url for the link.
信息项Information items
标题Title 为每个项的标题显示的文本。The text that's displayed for the title of each item.
内容Content 为每个项显示的文本。The text that's displayed for each item.

折线图、标注和列表部件Line chart, callout, and list part

标头显示一段时间内来自一个日志查询中的具有多个系列的折线图和具有汇总值的标注。The header displays a line chart with multiple series from a log query over time and a callout with a summarized value. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.

折线图、标注和列表视图

设置Setting 说明Description
常规General
组标题Group title 在磁贴顶部显示的文本。The text that's displayed at the top of the tile.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
图标Icon 标头中的结果旁边显示的图像文件。The image file that's displayed next to the result in the header.
使用图标Use Icon 选择此链接可显示图标。Select this link to display the icon.
标头Header
标题Title 标头顶部显示的文本。The text that's displayed at the top of the header.
副标题Subtitle 标头顶部的标题下显示的文本。The text that's displayed under the title at the top of the header.
折线图Line chart
查询Query 要为折线图运行的查询。The query to run for the line chart. 第一个属性应为文本值,第二个属性应为数值。The first property is a text value, and the second property is a numeric value. 此查询通常使用 measure 关键字来汇总结果。This query ordinarily uses the measure keyword to summarize results. 如果查询使用 interval 关键字,则图表的 X 轴将使用此时间间隔。If the query uses the interval keyword, the x-axis of the chart uses this time interval. 如果查询不包含 interval 关键字,则 X 轴使用每小时间隔。If the query does not include the interval keyword, the x-axis uses hourly intervals.
点击导航Click-through navigation 单击标题时执行的操作。Action taken when you click on the header. 有关详细信息,请参阅通用设置For more information, see Common Settings.
折线图Line chart > 标注> Callout
标注标题Callout title 标注值上方显示的文本。The text that's displayed above the callout value.
序列名称Series Name 用于标注值的序列的属性值。Property value for the series to use for the callout value. 如果没有提供序列,则将使用查询中的所有记录。If no series is provided, all records from the query are used.
操作Operation 对值属性执行的用于汇总到标注的单个值的操作。The operation to perform on the value property to summarize it as a single value for the callout.
  • 平均值:所有记录中的值的平均值。Average: The average of the values from all records.
  • 计数:由查询返回的所有记录的计数。Count: The count of all records that are returned by the query.
  • 最后一个采样:图表中包含的最后一个时间间隔中的值。Last sample: The value from the last interval that's included in the chart.
  • 最大值:图表中包含的时间间隔中的最大值。Max: The maximum value from the intervals that are included in the chart.
  • 最小值:图表中包含的时间间隔中的最小值。Min: The minimum value from the intervals that are included in the chart.
  • 总和:所有记录中的值的总和。Sum: The sum of the values from all records.
折线图Line chart > Y 轴> Y-axis
使用对数刻度Use Logarithmic Scale 选择此链接可对 Y 轴使用对数刻度。Select this link to use a logarithmic scale for the y-axis.
UnitsUnits 指定由查询返回的值的单位。Specify the units for the values to be returned by the query. 此信息用于显示在图表上指示值类型的标签,并可用于转换值。This information is used to display chart labels that indicate the value types and, optionally, to convert the values. “单位类型”指定单位的类别,并定义可用的“当前单位类型”值 。The Unit type specifies the category of the unit and defines the available Current Unit type values. 如果选择一个位于“转换为” 中的值,则该数字值将从“当前单位” 类型转换为“转换为” 类型。If you select a value in Convert to, the numeric values are converted from the Current Unit type to the Convert to type.
自定义标签Custom label 要在 Y 轴上“单位”类型标签旁边显示的文本 。The text that's displayed for the y-axis next to the label for the Unit type. 如果未指定任何标签,则将仅显示“单位”类型 。If no label is specified, only the Unit type is displayed.
列表List
查询Query 针对列表运行的查询。The query to run for the list. 显示由查询返回的记录数。The count of the records that are returned by the query is displayed.
隐藏图形Hide graph 选择此链接可禁用数值列右侧的图形。Select this link to disable the graph at the right of the numeric column.
启用迷你图Enable sparklines 选择此链接可显示迷你图而不是水平条。Select this link to display a sparkline instead of a horizontal bar. 有关详细信息,请参阅通用设置For more information, see Common Settings.
颜色Color 条形或迷你图的颜色。The color of the bars or sparklines.
操作Operation 对迷你图执行的操作。The operation to perform for the sparkline. 有关详细信息,请参阅通用设置For more information, see Common Settings.
名称和值分隔符Name and value separator 若要将文本属性分析为多个值,则为单字符分隔符。The single-character delimiter to use to parse the text property into multiple values. 有关详细信息,请参阅通用设置For more information, see Common Settings.
点击导航Click-through navigation 单击列表中的项时执行的操作。Action taken when you click on an item in the list. 有关详细信息,请参阅通用设置For more information, see Common Settings.
列表List > 列标题> Column titles
NameName 第一列顶部显示的文本。The text that's displayed at the top of the first column.
ValueValue 第二列顶部显示的文本。The text that's displayed at the top of the second column.
列表List > 阈值> Thresholds
启用阈值Enable Thresholds 选择此链接可启用阈值。Select this link to enable thresholds. 有关详细信息,请参阅通用设置For more information, see Common Settings.

折线图和列表部件Line chart and list part

标头显示一段时间内来自一个日志查询中的具有多个系列的折线图。The header displays a line chart with multiple series from a log query over time. 列表显示查询的前十个结果,其中的图形指示数值列的相关值或其随时间的变化。The list displays the top ten results from a query, with a graph that indicates the relative value of a numeric column or its change over time.

折线图和列表视图

设置Setting 说明Description
常规General
组标题Group title 在磁贴顶部显示的文本。The text that's displayed at the top of the tile.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
图标Icon 标头中的结果旁边显示的图像文件。The image file that's displayed next to the result in the header.
使用图标Use Icon 选择此链接可显示图标。Select this link to display the icon.
标头Header
标题Title 标头顶部显示的文本。The text that's displayed at the top of the header.
副标题Subtitle 标头顶部的标题下显示的文本。The text that's displayed under the title at the top of the header.
折线图Line chart
查询Query 要为折线图运行的查询。The query to run for the line chart. 第一个属性应为文本值,第二个属性应为数值。The first property is a text value, and the second property is a numeric value. 此查询通常使用 measure 关键字来汇总结果。This query ordinarily uses the measure keyword to summarize results. 如果查询使用 interval 关键字,则图表的 X 轴将使用此时间间隔。If the query uses the interval keyword, the x-axis of the chart uses this time interval. 如果查询不包含 interval 关键字,则 X 轴使用每小时间隔。If the query does not include the interval keyword, the x-axis uses hourly intervals.
点击导航Click-through navigation 单击标题时执行的操作。Action taken when you click on the header. 有关详细信息,请参阅通用设置For more information, see Common Settings.
折线图Line chart > Y 轴> Y-axis
使用对数刻度Use Logarithmic Scale 选择此链接可对 Y 轴使用对数刻度。Select this link to use a logarithmic scale for the y-axis.
UnitsUnits 指定由查询返回的值的单位。Specify the units for the values to be returned by the query. 此信息用于显示在图表上指示值类型的标签,并可用于转换值。This information is used to display chart labels that indicate the value types and, optionally, to convert the values. “单位类型”指定单位的类别,并定义可用的“当前单位类型”值 。The Unit type specifies the category of the unit and defines the available Current Unit type values. 如果选择一个位于“转换为” 中的值,则该数字值将从“当前单位” 类型转换为“转换为” 类型。If you select a value in Convert to, the numeric values are converted from the Current Unit type to the Convert to type.
自定义标签Custom label 要在 Y 轴上“单位”类型标签旁边显示的文本 。The text that's displayed for the y-axis next to the label for the Unit type. 如果未指定任何标签,则将仅显示“单位”类型 。If no label is specified, only the Unit type is displayed.
列表List
查询Query 针对列表运行的查询。The query to run for the list. 显示由查询返回的记录数。The count of the records that are returned by the query is displayed.
隐藏图形Hide graph 选择此链接可禁用数值列右侧的图形。Select this link to disable the graph at the right of the numeric column.
启用迷你图Enable sparklines 选择此链接可显示迷你图而不是水平条。Select this link to display a sparkline instead of a horizontal bar. 有关详细信息,请参阅通用设置For more information, see Common Settings.
颜色Color 条形或迷你图的颜色。The color of the bars or sparklines.
操作Operation 对迷你图执行的操作。The operation to perform for the sparkline. 有关详细信息,请参阅通用设置For more information, see Common Settings.
名称和值分隔符Name and value separator 若要将文本属性分析为多个值,则为单字符分隔符。The single-character delimiter to use to parse the text property into multiple values. 有关详细信息,请参阅通用设置For more information, see Common Settings.
点击导航Click-through navigation 单击列表中的项时执行的操作。Action taken when you click on an item in the list. 有关详细信息,请参阅通用设置For more information, see Common Settings.
列表List > 列标题> Column titles
NameName 第一列顶部显示的文本。The text that's displayed at the top of the first column.
ValueValue 第二列顶部显示的文本。The text that's displayed at the top of the second column.
列表List > 阈值> Thresholds
启用阈值Enable Thresholds 选择此链接可启用阈值。Select this link to enable thresholds. 有关详细信息,请参阅通用设置For more information, see Common Settings.

折线图的堆栈部分Stack of line charts part

折线图的堆栈显示一段时间内来自一个日志查询中的具有多个系列的三个独立折线图,如下所示:The stack of line chart displays three separate line charts, with multiple series from a log query over time, as shown here:

折线图的堆栈

设置Setting 说明Description
常规General
组标题Group title 在磁贴顶部显示的文本。The text that's displayed at the top of the tile.
新建组New Group 选择此链接可在以当前视图开始的视图中创建新组。Select this link to create a new group in the view, starting at the current view.
图标Icon 标头中的结果旁边显示的图像文件。The image file that's displayed next to the result in the header.
图表 1
图表 2
图表 3
Chart 1
Chart 2
Chart 3
> 标头> Header
标题Title 在图表顶部显示的文本。The text that's displayed at the top of the chart.
副标题Subtitle 图表顶部的标题下显示的文本。The text that's displayed under the title at the top of the chart.
图表 1
图表 2
图表 3
Chart 1
Chart 2
Chart 3
折线图Line chart
查询Query 要为折线图运行的查询。The query to run for the line chart. 第一个属性应为文本值,第二个属性应为数值。The first property is a text value, and the second property is a numeric value. 此查询通常使用 measure 关键字来汇总结果。This query ordinarily uses the measure keyword to summarize results. 如果查询使用 interval 关键字,则图表的 X 轴将使用此时间间隔。If the query uses the interval keyword, the x-axis of the chart uses this time interval. 如果查询不包含 interval 关键字,则 X 轴使用每小时间隔。If the query does not include the interval keyword, the x-axis uses hourly intervals.
点击导航Click-through navigation 单击标题时执行的操作。Action taken when you click on the header. 有关详细信息,请参阅通用设置For more information, see Common Settings.
图表Chart > Y 轴> Y-axis
使用对数刻度Use Logarithmic Scale 选择此链接可对 Y 轴使用对数刻度。Select this link to use a logarithmic scale for the y-axis.
UnitsUnits 指定由查询返回的值的单位。Specify the units for the values to be returned by the query. 此信息用于显示在图表上指示值类型的标签,并可用于转换值。This information is used to display chart labels that indicate the value types and, optionally, to convert the values. “单位类型”指定单位的类别,并定义可用的“当前单位类型”值 。The Unit type specifies the category of the unit and defines the available Current Unit type values. 如果选择一个位于“转换为” 中的值,则该数字值将从“当前单位” 类型转换为“转换为” 类型。If you select a value in Convert to, the numeric values are converted from the Current Unit type to the Convert to type.
自定义标签Custom label 要在 Y 轴上“单位”类型标签旁边显示的文本 。The text that's displayed for the y-axis next to the label for the Unit type. 如果未指定任何标签,则将仅显示“单位”类型 。If no label is specified, only the Unit type is displayed.

通用设置Common settings

以下部分介绍了对几个可视化部件通用的设置。The following sections describe settings that are common to several visualization parts.

名称和值分隔符Name and value separator

名称和值分隔符是用于将列表查询中的文本属性分析为多个值的单字符分隔符。The name and value separator is the single-character delimiter to use to parse the text property from a list query into multiple values. 如果指定了分隔符,可以在“名称”框中提供以该分隔符分隔的每个字段的名称 。If you specify a delimiter, you can provide names for each field, separated by the same delimiter in the Name box.

例如,考虑一个名为 Location 的属性,该属性包括 Redmond-Building 41Bellevue-Building 12 等值。For example, consider a property called Location that included values such as Redmond-Building 41 and Bellevue-Building 12. 可以指定短划线 (–) 作为名称和值分隔符,指定 City-Building 作为名称。You can specify a dash (-) for the name and value separator and City-Building for the name. 此方法会将每个值分析为两个称作 CityBuilding 的属性。This approach parses each value into two properties called City and Building.

点击导航Click-Through Navigation

点击导航定义在单击标题或视图中的列表项时要执行的操作。Click-through navigation defines what action will be taken when you click on a header or list item in a view. 此操作将在 Log Analytics 中打开查询或启动另一个视图。This will either open a query in the Log Analytics or launch another view.

下表描述了点击导航的设置。The following table describes the settings for click-through navigation.

设置Setting 说明Description
日志搜索(自动)Log Search (Auto) 选择标题项时要运行的日志查询。Log query to run when you select a header item. 这是该项所基于的同一日志查询。This is the same log query that the item is based on.
日志搜索Log Search 选择列表中的项时要运行的日志查询。Log query to run when you select an item in a list. 在“导航查询” 框中键入查询。Type the query into the Navigation query box. 使用 {selected item} 以包括用户选择的项的语法。Use {selected item} to include the syntax for the item that the user selected. 例如,如果查询具有名为 Computer 的列且导航查询为 {selected item} ,则选择计算机时会运行 Computer="MyComputer" 之类的查询。For example, if the query has a column named Computer and the navigation query is {selected item}, a query such as Computer="MyComputer" is run when you select a computer. 如果导航查询为 Type=Event {selected item} ,则将运行查询 Type=Event Computer="MyComputer"If the navigation query is Type=Event {selected item}, the query Type=Event Computer="MyComputer" is run.
查看View 选择标题项或列表中的项时要打开的视图。View to open when you select a header item or an item in a list. 在“视图名称” 框中选择工作区中的视图名称。Select the name of a view in your workspace in the View Name box.

迷你图Sparklines

迷你图是一种小型折线图,表明一时间段内列表项的值。A sparkline is a small line chart that illustrates the value of a list entry over time. 对于具有列表的可视化部件,可选择是显示水平条(指示数值列的相关值)还是迷你图(指示其在一时间段内的值)。For visualization parts with a list, you can select whether to display a horizontal bar, which indicates the relative value of a numeric column, or a sparkline, which indicates its value over time.

下表描述迷你图的设置:The following table describes the settings for sparklines:

设置Setting 说明Description
启用迷你图Enable Sparklines 选择此链接可显示迷你图而不是水平条。Select this link to display a sparkline instead of a horizontal bar.
操作Operation 如果已启用迷你图,则对列表中每个属性执行此操作,计算迷你图的值。If sparklines are enabled, this is the operation to perform on each property in the list to calculate the values for the sparkline.
  • 最后一个采样:时间间隔内序列的最后一个值。Last sample: The last value for the series over the time interval.
  • 最大值:时间间隔内序列的最大值。Max: The maximum value for the series over the time interval.
  • 最小值:时间间隔内序列的最小值。Min: The minimum value for the series over the time interval.
  • 总和:时间间隔内序列值的总和。Sum: The sum of the values for the series over the time interval.
  • 摘要:使用相同的 measure 命令作为标头中的查询。Summary: Uses the same measure command as the query in the header.

阈值Thresholds

使用阈值可在列表中的每个项旁边显示彩色图标。By using thresholds, you can display a colored icon next to each item in a list. 阈值对超出特定值或处于特定范围内的项提供快速的视觉指示。Thresholds give you a quick visual indicator of items that exceed a particular value or fall within a particular range. 例如,对于值可接受的项,显示绿色图标;如果值处于指示警告的范围内,则显示黄色;如果超出错误值,则显示红色。For example, you can display a green icon for items with an acceptable value, yellow if the value is within a range that indicates a warning, and red if it exceeds an error value.

如果为部件启用阈值,则必须指定一个或多个阈值。When you enable thresholds for a part, you must specify one or more thresholds. 如果某项的值大于阈值并小于下一个阈值,则使用该值的颜色。If the value of an item is greater than a threshold value and lower than the next threshold value, the color for that value is used. 如果某项大于当时的最高阈值,则使用另一种颜色。If the item is greater than the highest threshold value, another color is used.

每个阈值集都具有一个带默认值的阈值。Each threshold set has one threshold with a value of Default. 如果没有超过其他值,这就是颜色集。This is the color that's set if no other values are exceeded. 可通过选择“添加”(+) 或“删除”(x) 按钮添加或删除阈值 。You can add or remove thresholds by selecting the Add (+) or Delete (x) button.

下表描述了阈值的设置:The following table describes the settings for thresholds:

设置Setting 说明Description
启用阈值Enable Thresholds 选择此链接可在每个值的左侧显示颜色图标。Select this link to display a color icon at the left of each value. 该图标指示其相对于指定阈值的运行状况。The icon indicates the value's health relative to specified thresholds.
NameName 阈值的名称。The name of the threshold value.
阈值Threshold 阈值的值。The value for the threshold. 每个列表项的运行状况颜色设置为项目值超出的最高阈值的颜色。The health color for each list item is set to the color of the highest threshold value that's exceeded by the item's value. 如果未超出阈值,则使用默认颜色。If no threshold values are exceeded, a default color is used.
颜色Color 指示阈值的颜色。The color that indicates the threshold value.

后续步骤Next steps

  • 了解支持在可视化部件中进行查询的日志查询Learn about log queries to support the queries in visualization parts.