stats
Stats calculate aggregate statistics over the dataset, similar to SQL aggregation. If called without a by clause, one row is produced, which represents the aggregation over the entire incoming result set.
eventstats
Eventstats calculates a statistical result same as stats command only difference is it does not create statistical results, it aggregates them to the original raw data.
streamstats
Streamstats command uses events before the current event to compute the aggregate statistics that are applied to each event.
-----------------------------------------------------
If this help your like will be appreciated 🙂