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

Histogram on ranges of a number field. #306

Closed
pheaver opened this issue Jul 31, 2013 · 4 comments
Closed

Histogram on ranges of a number field. #306

pheaver opened this issue Jul 31, 2013 · 4 comments

Comments

@pheaver
Copy link

pheaver commented Jul 31, 2013

I'd like to be able to generate histograms over a non-timestamp field, where kibana intelligently selects the interval just like for timestamp histograms.

Alternatively, I'd like to be able to manually define ranges that are used for the terms panel.

@olej-a
Copy link

olej-a commented Jul 31, 2013

Try demo American Gun Deaths, set multiquery>

age:[1 TO 18]
age:[19 TO 26]
age:[27 TO 40]
...
set histogram resolution to 1, you can set percent option too.

Result is simple histogram. Histogram with one slice can be also pie, but there is no option display histogram as pie

@siltus
Copy link

siltus commented Dec 2, 2013

olej-a proposal is nice but too ad-hock for us. Will be happy to see this feature as well!

@rashidkpc
Copy link
Contributor

Relates to: #622

@spalger
Copy link
Contributor

spalger commented Oct 6, 2014

With Kibana 4 you can do a histogram on any numeric field, and you can use the range aggregation to define custom ranges.

Enjoy!

@spalger spalger closed this as completed Oct 6, 2014
spalger pushed a commit to spalger/kibana that referenced this issue Mar 3, 2016
also removed numeric_range filter (replace by execution mode of the rang filter.

Closes elastic#306
harper-carroll pushed a commit to harper-carroll/kibana that referenced this issue Jul 11, 2016
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

6 participants
@pheaver @rashidkpc @spalger @siltus @olej-a and others