top of page


Working with statistical functions - Mean, median and mode with the stats command
In this post, we will look at the statistical concepts of the measures of central tendency for numeric sets: mean, median and mode. The mean is the sum of the values of all the elements in a numeric set divided by the number of elements in the set. In Splunk terms, when we have a numeric field, all of its values are added up and the result is divided by the number of events that have this field. See the following example, using a field that records the number of bytes transfe
WeValuate
1 day ago2 min read


Working with statistical functions - The stats command
In a Splunk event, we have fields that hold the values extracted from each part of the event. Among the main things we can do with these fields is counting and displaying their values, which is where the statistical analysis of our data begins. The stats command is one of Splunk's main and most versatile commands. It starts this analysis by producing counts, sums, mode, mean, median and other functions that we will look at in detail. Starting with the stats command, let's run
WeValuate
1 day ago2 min read
bottom of page