Splunk Search

Different median results: fast-mode vs verbose-mode

HeinzWaescher
Motivator

Hi,

I'm calculating a median. The result is not the same when I change from fast to verbose mode... Is this expected behaviour?

BR

Heinz

Tags (2)

chanmi2
Path Finder

I can't figure out how Splunk calculating median/perc50 either. The result is just a estimated result when there are hundreds of events from your search.

To get the exact median that wont change, I recommend using exactperc50()

AKG1_old1
Builder

Thanks !! its helpful.

0 Karma

woodcock
Esteemed Legend

Post your search; it depends.

0 Karma

HeinzWaescher
Motivator

The search is very simple...

 sourcetype=A action=B tag=C AND (field1>0 OR field2>0) AND NOT field3=xyz | stats median(field4)
0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...