Summarize Attributes (Real-time) (Beta)
The Summarize Attributes tool
summarizes field values to generate a summary table. The resulting output table displays the count of summarized features and any additional specified statistics.
Workflow diagram

Examples
Managing assets and sensor data can be challenging with high-frequency, real-time observations. Although individual data points show what an asset or sensor is doing at a specific moment, analyzing rolling subsets of incoming data can provide a broader view of conditions and trends over time.
The following are example use cases for the tool:
Mean, min, max, and standard deviation for the last 10 vehicle speed observations by track ID can help identify erratic driving or traffic slowdowns.
Average temperature, vibration, and pressure readings over the last five minutes by track ID can help detect hazardous conditions.
Average processing time, max wait time, and total facility gate event count across the last 100 events can help power a live operations dashboard.
Min, max, and average air quality index values over the last 10 minutes for an environmental sensor can provide an overall view of air health.
Usage notes
Note the following when working with the tool:
Inputs can be a tabular layer or a layer with geometry (points, lines, or areas).
This tool provides the following scope choices for calculations with the State Mode parameter (choose only one mode at a time):
The Track-based mode maintains rolling summary statistics separately for each track ID, using the
Track IDfield defined in the input schema.The Summary set mode maintains one rolling summary across all incoming features, without separating observations by track ID.
To calculate statistics from previous observations, the tool temporarily retains recent observations in a state store. The Calculation Mode parameter determines how much data is retained and used in each rolling calculation (choose only one mode at a time):
The History Depth mode retains and calculates statistics from a specified number of observations, including the current observation.
The Time Window mode retains and calculates statistics from observations within a specified time window, using each observation's event start time.
When Track-based mode is selected, the input must have a
Track IDfield defined. The tool uses theTrack IDfield from the input schema to maintain separate rolling summaries for each track.This tool is a tabular analysis tool, not a spatial analysis tool. You can use this tool with spatial data. However, the result is tabular. For more information, refer to the Output table section.
The output table of this tool always includes a count of the number of features that the tool has summarized. If Count is also selected for a summary field, the output includes an additional field-specific count.
Use the Summary fields parameter to calculate additional statistics. The available summary fields statistics depend on the field type you are summarizing.
A string attribute field can use the Any, Count, and Count (distinct) statistics.
A numeric attribute field can use the Any, Count, Count (distinct), Sum, Square Sum, Min, Max, Range, Variance, and Standard Deviation statistics.
A date attribute field can use the Any, Count, Min, Max, and Range statistics.
How the tool works
The Summarize Attributes tool first reviews the Calculation Mode parameter and stores incoming real-time data in a state store according to the setting chosen.
For the History Depth mode, the tool retains up to the specified number of recent observations in the state store. The tool recalculates statistics as it processes each feature; early output records use the observations available so far until the tool reaches the history depth value.
For the Time Window mode, the tool runs calculations immediately with any data available in the state store.
The tool then runs calculations based on the State Mode parameter.
For the Track-based mode, the tool runs calculations on subsets of data organized by the input
Track IDfield.For the Summary set mode, the tool runs calculations on the entire dataset in the state store, as if the entire dataset were under a single
Track IDfield.
The following sections describe equations, calculations, parameters, and the output table.
Equations
Variance is calculated using the following equation:
\(s^2 = \left( \frac{\sum_{i=1}^{N} x_i^2 - N\bar{x}^2}{N-1} \right)\)
Standard deviation is calculated as the square root of the variance.
Calculations
The Summarize Attributes tool calculates rolling summary statistics from observations stored in the tool state store. For example, a logistics team can use stop-completion events from delivery vehicles to summarize how many packages were delivered at recent stops, such as businesses, apartment buildings, or pickup locations.

When the State Mode parameter is set to the Track-based mode, the Calculation Mode parameter is set to the History Depth mode, and the History Depth mode is set to 2, the tool summarizes the two most recent stops for each vehicle. This can help answer questions such as how many packages each vehicle delivered during its two most recent stops.

In table 2, each row shows the sum of packages delivered for the two most recent stops of the vehicle in that event. These values are calculated by referencing the packages delivered at each stop in table 1:
At 7/1/2026 9:47 a.m., only one stop has occurred for VAN-101 at 9:47 a.m., so
COUNTremains 1 andpackagesDelivered_Sumis 6.At 7/1/2026 9:52 a.m., only one stop has occurred for VAN-205 at 9:52 a.m., so
COUNTremains 1 andpackagesDelivered_Sumis 4.At 7/1/2026 9:58 a.m., using VAN-101's two most recent stops at 9:47 a.m. and 9:58 a.m.,
COUNTremains 2 andpackagesDelivered_Sumis 6 + 8 = 14.At 7/1/2026 10:05 a.m., using VAN-205's two most stops at 9:52 a.m. and 10:05 a.m.,
COUNTremains 2 andpackagesDelivered_Sumis 4 + 5 = 9.At 7/1/2026 10:19 a.m., using VAN-101's two most recent stops at 9:58 a.m. and 10:19 a.m.,
COUNTremains 2 andpackagesDelivered_Sumis 8 + 7 = 15.At 7/1/2026 10:24 a.m., using VAN-205's two most recent stops at 10:05 a.m. and 10:24 a.m.,
COUNTremains 2 andpackagesDelivered_Sumis 5 + 3 = 8.
When the State Mode parameter is set to the Summary set mode, the Calculation Mode parameter is set to the Time Window mode, and the Time Window mode value is set to 30 minutes, the tool summarizes all stops that occurred within the rolling time window. This can help answer questions such as how many stops occurred and how many packages were delivered by the fleet during the last 30 minutes.

In table 3, each row shows the count and sum of packages delivered by the entire fleet within the rolling 30-minute window. These values are calculated by referencing the event times and packages delivered at each stop in table 1:
At 7/1/2026 9:47 a.m., only the 9:47 a.m. event has occurred, so
COUNTremains 1 andpackagesDelivered_Sumis 6.At 7/1/2026 9:52 a.m., the 9:47 a.m. and 9:52 a.m. events fall within the last 30 minutes, so
COUNTremains 2 andpackagesDelivered_Sumis 6 + 4 = 10.At 7/1/2026 9:58 a.m., the 9:47 a.m., 9:52 a.m., and 9:58 a.m. events fall within the last 30 minutes, so
COUNTremains 3 andpackagesDelivered_Sumis 6 + 4 + 8 = 18.At 7/1/2026 10:05 a.m., the 9:47 a.m., 9:52 a.m., 9:58 a.m., and 10:05 a.m. events fall within the last 30 minutes, so
COUNTremains 4 andpackagesDelivered_Sumis 6 + 4 + 8 + 5 = 23.At 7/1/2026 10:19 a.m., the 9:47 a.m. event does not fall within the 30 minutes window and is dropped, but the 9:52 a.m., 9:58 a.m., 10:05 a.m. and 10:19 a.m. events fall within the last 30 minutes, so
COUNTremains 4 andpackagesDelivered_Sumis 4 + 8 + 5 + 7 = 24.At 7/1/2026 10:24 a.m., the 9:47 a.m. and 9:52 a.m. events do not fall within the 30 minutes window and are dropped, but the 9:58 a.m., 10:05 a.m., 10:19 a.m., and 10:24 a.m. events fall within the last 30 minutes window, so
COUNTremains 4 andpackagesDelivered_Sumis 8 + 5 + 7 + 3 = 23.
Parameters
The following table describes the parameters for the tool:
|
Parameters |
Explanation |
Data type |
|---|---|---|
|
Input layer |
The input with features that will be summarized. |
Features |
|
State Mode |
Choose how the incoming features are used for each rolling summary calculation. Choose one of the following:
|
String |
|
Calculation Mode |
Choose how much data to retain in the state store and use for your rolling calculations. Choose one of the following:
Only one calculation mode can be selected. |
String |
|
History Depth |
If you choose the History Depth mode for the Calculation Mode parameter, specify the number of cached observations in the state store. For example, if you set a state store depth value to 5, each time an observation is processed, summary fields are calculated based on the current observation plus the previous four observations. In the History Depth mode, this tool waits until the specified number of observations are available in the state store to produce an output. |
Integer |
|
Time Window |
If you choose the Time Window mode for the Calculation Mode parameter, specify the rolling duration of time to cache observations in the state store. The start time is used to determine which observations to include. In Time Window mode, this tool begins calculating as soon as data is available in the state store. |
String |
|
Summary fields (optional) |
The statistics calculated for the specified fields. Available statistics vary based on whether the field is a string, numeric, or date field. The supported statistics types are as follows:
|
String |
Output table
The tool output is a table containing summarized attributes specified by the Summary fields (optional) parameter, Track ID fields when the Track-based mode is selected, and event time fields that can support downstream joins.
To reduce state store size, geometry and other input fields are not preserved from the input and are not included in the output table. These fields can be rejoined using the Join Features tool.
If a spatiotemporal feature layer is used as an output type, both a spatiotemporal feature layer and a map image layer are created. If an ArcGIS Online hosted feature layer is used as an output type, the output table is a Table (hosted).