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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...