**同步结果摘要**: | 目录 | 同步前 | 同步后 | 官方 | |------|--------|--------|------| | aggregations | 40 | 65 | 64 | | analyzers | 8 | 141 | 140 | | api-reference | 97 | 186 | 174 | | benchmark | 34 | 67 | 53 | | clients | 17 | 18 | 18 | | dashboards | 38 | 149 | 131 | | data-prepper | 77 | 134 | 123 | | im-plugin | 22 | 37 | 37 | | ingest-pipelines | 27 | 52 | 51 | | install-and-configure | 37 | 57 | 53 | | ml-commons-plugin | 81 | 157 | 155 | | observing-your-data | 39 | 73 | 66 | | query-dsl | 40 | 77 | 75 | | search-plugins | 80 | 139 | 95 | | security-analytics | 22 | 47 | 46 | **说明**: - 本地文件数 > 官方:本地有一些官方已删除或重命名的文件 - 新增了约 **740 个英文文档文件** - 已有文件保持不变(未覆盖)
2.5 KiB
layout, title, parent, grand_parent, great_grand_parent, nav_order, redirect_from
| layout | title | parent | grand_parent | great_grand_parent | nav_order | redirect_from | |
|---|---|---|---|---|---|---|---|
| default | PPL visualization | Visualization types | Creating visualizations in the Visualize application | Building data visualizations | 140 |
|
PPL visualization
Piped Processing Language (PPL) visualizations enable data processing and visualization using PPL queries. Selecting PPL from the New Visualization dialog opens the Observability Logs Explorer, where you write a PPL query and map the results to a chart.
When to use PPL visualizations
Use PPL visualizations when you want to write queries directly using the PPL pipeline syntax rather than configuring aggregations through the point-and-click interface. For more information, see Observability and Exploring data.
Creating a PPL visualization
The examples on this page use the Sample flight data dataset. Before you begin, complete the prerequisites. {: .note}
To create a PPL visualization, follow these steps:
-
In the New Visualization dialog, select PPL. The Observability Logs Explorer opens.
-
In the PPL query bar, enter a query. For example:
source = opensearch_dashboards_sample_data_flights | stats count() by Carrier{% include copy.html %}
-
Set the time filter to a range that contains data (for example, select Last 7 days).
-
Select Run.
-
Select the Visualizations tab to view the chart.
-
(Optional) Use the chart type selector on the right to change the chart type (for example, Pie).
The explorer automatically maps query result fields to the chart. The Configuration panel shows Series (the metric) and Dimensions (the grouping field), as shown in the following image.
Related documentation
Next steps
- To choose a different visualization type, see Visualization types.
- To add this visualization to a dashboard, see Creating dashboards.
