Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement - add percentile line/values to histogram #1356

Closed
Chadwiki opened this issue Jul 10, 2014 · 8 comments
Closed

enhancement - add percentile line/values to histogram #1356

Chadwiki opened this issue Jul 10, 2014 · 8 comments

Comments

@Chadwiki
Copy link

  1. Add percentile line values to the histogram.
  2. Plot other query values , thus show what falls below or above the % line

Example:

# Curl --
{
    "aggs": {
        "load_time_outlier": {
            "percentiles": {
                "field": "duration",
                "percents": [ 50, 75, 95, 99.9 ]
            }
        }
    }
}

# output --
values: {
    "50.0": 22.376878868258178
    "75.0": 721.1441558441559
    "95.0": 14238.692032967027
    "99.9": 526479.7200000014
}
@Chadwiki Chadwiki changed the title enhancement - add percentile line/values to histoghram enhancement - add percentile line/values to histogram Jul 10, 2014
@w33ble
Copy link
Contributor

w33ble commented Oct 6, 2014

Seems related to #885 - Mainly, the ability to customize the Y-Axis labels and lines. I thought I saw another issue related to it as well, but can't seem to find it now.

@arnauldvm
Copy link

I'm not quite sure it's related to #885.
AFAIU #885 is just about changing the format of values displayed on the Y-axis.

The percentile is just another kind of metric. E.g. instead of calculating an average value for records in a time interval, you calculate the value which is such that 95% of the records are below that value - the value is called the 95-percentile.
Or, instead of calculating the "count" of records, one could calculate the percentage of records where the value is below a fixed reference, which is easier but gives a different curve. (See also Wikipedia)

Those two metrics are quite often used to define SLA, and as such would be very useful.

See also this intersting article: http://www.elasticsearch.org/blog/averages-can-dangerous-use-percentile/

@Chadwiki
Copy link
Author

Not related to #885 - this would require an aggregation of the value field and thus represent the statistical percentiles around a given value.
@arnauldvm has stated it very well...

would a sample graph help?

@w33ble
Copy link
Contributor

w33ble commented Nov 3, 2014

Sorry, was pruning a lot of issues at the time and didn't understand this correctly. You're right, the two are not related.

Currently percentile aggregations are missing completely from Kibana due to #1536, which is on the roadmap. That'd be the ticket to watch for this.

@Chadwiki
Copy link
Author

I would like to clarify, histogram reference was b/c of Kibana 3 panel type.
The visual should be a Line Chart/Graph , ref Kibana 4

@w33ble
Copy link
Contributor

w33ble commented Jan 22, 2015

I believe this was actually closed by #2486

screenshot 2015-01-21 17 35 40
screenshot 2015-01-21 17 35 50
screenshot 2015-01-21 17 36 00

This has been available for a bit now, and will be in an official release when we release the first RC (very soon)

@Chadwiki
Copy link
Author

This current in Kibana 4

@rashidkpc
Copy link
Contributor

@webtoed thanks for the followup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants