Field statistics
Elastic Stack Serverless
Field statistics panels allow you to display a table with additional field information in your dashboards, such as document count, values, and distribution.
From your dashboard, select Add panel.
Choose Field statistics under Visualizations. An ES|QL editor appears and lets you configure your query with the fields and information that you want to show.
TipCheck the ES|QL reference to get familiar with the syntax and optimize your query.
When editing your query or its configuration, run the query to update the preview of the visualization.
Select Apply and close to save the visualization to the dashboard.