First, let's define some new functions:
sistatsis the summary indexing version of the stats command, which calculates the aggregate statistics over the dataset.
sitopis the summary indexing version of the
topcommand, which returns the most frequent value of a field or a combination of fields.
sitimechartis the summary indexing version of the
timechartcommand, which creates a time-series chart visualization with the corresponding table of statistics.
So far, we have used the
stats command to populate our summary index. While this works perfectly well, the
si* variants have a couple of advantages: