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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...