About calculating statistics
This chapter discusses how to calculate summary statistics on events. When you think about calculating statistics with Splunk's search processing language (SPL), the
stats command is probably what comes to mind first. The stats command generates reports that display summary statistics in a tabular format. Additionally, you can use the
timechart commands to create charted visualizations for summary statistics.
timechart commands (and their related commands
streamstats) are designed to work in conjunction with statistical functions. For examples of searches using these commands and functions, read "Use the stats command and functions".
Later topics discuss how to:
Manipulate and evaluate fields with multiple values
Use the stats command and functions
This documentation applies to the following versions of Splunk® Enterprise: 5.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.0.10, 5.0.11, 5.0.12, 5.0.13, 5.0.14, 5.0.15, 5.0.16, 5.0.17, 5.0.18