Updated at: 2022-12-09 03:49:50
It is to easily visualize the percentage relationship of each component to the whole. The specific steps are as follows: 
1. Click Visualization > Normal Pie Chart to select data sources. You can filter out the required data sources by selecting Log Group or Saved Search; 
2. Make normal pie chart visualization editing, and configure parameters as follows: 
1) Configure Metric parameters: 
• Aggregation: Select the type of aggregation for the fan part of Pie Chart: Count (default), Sum, and Unique Count;
• Conversion of Units: Set the conversion from original units to target units, and you can enable/disable this function;
• Custom Tag: Set the name displayed on the fan part
2) Buckets: Classify bucket aggregation on the selected fields and display the split pie chart: 
• Aggregation: Available types: Date Histogram, Histogram, Range, Date Range, IPv4 Range, Terms, Filters, Significant Terms.
3. After completing the above configuration, click the
button at the top left to check the visual view on the right, as follows: 
In the above example, the log data count results are classified according to the date range (bucket aggregation type) and @ timestamp (aggregation field).
4. After visual view configuration, click Save to complete the current visual view creation.