The quick analysis feature of Log Service allows you to perform a query with ease. You can use this feature to analyze the distribution of a field over a period of time.
Prerequisites
Indexes are configured for specified fields. The analytics switch is turned on for these fields. For more information, see Configure indexes.

Features
- Allows you to analyze the first 100,000 log entries that are returned for a query.
Note When you perform a quick analysis during the selected time range, the first 100,000 log entries are returned. If you use a saved search to query all data in a Logstore, you must delete the Limit 100000 clause.
- Groups fields of the TEXT type and provides statistics about the top 10 groups.
- Generates approx_distinct statements for fields of the TEXT type.
- Supports histogram-based statistics about the approximate distribution of fields of
the LONG and DOUBLE type.
Histogram-based statistics groups sampling data and calculates the average value of each group.
- Searches for the maximum, minimum, average, or sum of fields of the LONG and DOUBLE type.
- Generates a query statement based on a quick analysis.
Procedure
TEXT type

LONG and DOUBLE types
- Display approximate distribution by using histograms.
The number of field values of the LONG and DOUBLE types is large. The preceding grouping analytics method is not suitable for the LONG or DOUBLE type. Log Service assigns field values into 10 buckets and displays the approximate distribution of the values in a histogram. The following figure shows the approximate distribution of the request_time field. This distribution of field value indicates that most of the request periods are distributed around 1.346 ms.
- Quick analysis on the maximum value, minimum value, average and sum of fields.
You can click Max under a field to search for the maximum value, Min to search for the minimum value, Avg to calculate the average value, and Sum to calculate the sum of fields.