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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...