Splunk Search

I want to calculate the Standard Deviation for the raw values that make a up the Average

Dark_Ichigo
Builder

I calculated an Average for a list of values AVG(numbers), I now have a list of those Averaged numbers with the number of transactions.

What I would like to do is calculate the Standard deviation for the raw values that make up the Average, Im confused on How to actually do that with Splunk...

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

From what I gather, you can do both in the same search.

your_search | stats avg(numbers) stdev(numbers) by trans_id

If you want it over all events, exclude the by trans_id clause.

http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Commonstatsfunctions

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...