top of page


Working with time series - The timechart command
One way to analyze time series in Splunk is the command timechart. This command performs a statistical aggregation on a field to build charts, with time as the X axis. The timechart command accepts the same functions and clauses as stats. The example below shows a simple count over the data in the web index for the whole available time range. index=web | timechart count You can now open the Visualization tab to see the chart created by this command. In this example, the data
WeValuate
1 day ago1 min read


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