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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...