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

Feature request : use the results of a terms facet to populate a stacked histogram #46

Closed
dav3860 opened this issue Apr 15, 2013 · 11 comments

Comments

@dav3860
Copy link

dav3860 commented Apr 15, 2013

Currently if we want to make a stacked histogram, we need to link it to a multi-query search control and add each search manually. It would be cool if Kibana 3 could determine automatically the top values or terms of a field using a terms facet over the selected timerange, and use it to populate a stacked histogram.

@rashidkpc
Copy link
Contributor

Related to #44

@dwinter3
Copy link

I like the idea of stacking the top x, where the user can define how many x is, then grouping the rest in "other". Hope that helps.

Otherwise you can end up with too many stacks in a single columns, making it unreadable.

@chris-walker
Copy link

This would make the multi-search feature a heck of a lot more useful for discovering events. As well as graphing the top X events it would be useful to be able to graph the bottom X (least common) events over time.

@rashidkpc
Copy link
Contributor

Just added this in the form of the "derivequeries" panel. It takes a query, a field and count, uses that to generate a multi-query event which can be received by both the histogram panel and the hits panel (eg, in bar, pie or list mode)

Derived Queries

@dwinter3
Copy link

Looks awesome. Thanks! We will test soon!

Sent from my iPhone

On May 15, 2013, at 7:15 PM, Rashid Khan notifications@github.com wrote:

Just added this in the form of the "derivequeries" panel. It takes a query, a field and count, uses that to generate a multi-query event which can be received by both the histogram panel and the hits panel (eg, in bar, pie or list mode)


Reply to this email directly or view it on GitHub.

@dav3860
Copy link
Author

dav3860 commented May 16, 2013

Thank you. It looks great.

@dav3860
Copy link
Author

dav3860 commented May 16, 2013

Rashid, just a question : how does the derivequeries panel affect the other panels if in the same group (I mean except histograms and hits) ? It looks like if I replace the primary stringqueries panel with a derivequeries panel, the table panel only displays the events with a "top X" value. But when I filter the table view (in the details pane), the query in the derivequeries panel input box becomes incoherent.

@rashidkpc
Copy link
Contributor

Admittedly, derivequeries is really targeted at panels that support multiple queries. In fact, I should probably disable its ability to receive 'query' events as you're right, they don't make any sense.

@dejongm
Copy link

dejongm commented Jun 4, 2013

Is there a way to make a derived query persistent? I want to setup a histogram that always displays the latest counts for variables in a particular field. It seems derivequeries only acts on user input. Is this true?

@Gabe82
Copy link

Gabe82 commented Sep 19, 2013

Hi rashidkpc, how can I add field "field" to field QUERY because i tried with derivequeries but I wasn't able to do nothing.

I'm using Kibana3 milestone 3

Thanks in advance.

@patrickwolf
Copy link

Is this already implemented in the latest version of Kibana? And if not how can I add it to our install please? Thanks!

spalger added a commit to spalger/kibana that referenced this issue Mar 3, 2016
orouz pushed a commit to orouz/kibana that referenced this issue Jan 13, 2022
the previous branch was merged by mistake without the code review fixes. there attach here.
ari-aviran pushed a commit to ari-aviran/kibana that referenced this issue Feb 7, 2022
the previous branch was merged by mistake without the code review fixes. there attach here.
kqualters-elastic pushed a commit to kqualters-elastic/kibana that referenced this issue Mar 8, 2022
…c#46)

* tiny fix for spacing issue between searchbar and session view

* removed variable
dgieselaar referenced this issue in dgieselaar/kibana Mar 31, 2022
Signed-off-by: inge4pres <francesco.gualazzi@elastic.co>
rockdaboot pushed a commit that referenced this issue Jul 4, 2022
Signed-off-by: inge4pres <francesco.gualazzi@elastic.co>
rockdaboot pushed a commit that referenced this issue Jul 4, 2022
Signed-off-by: inge4pres <francesco.gualazzi@elastic.co>
rockdaboot pushed a commit that referenced this issue Jul 5, 2022
Signed-off-by: inge4pres <francesco.gualazzi@elastic.co>
CoenWarmer added a commit to CoenWarmer/kibana that referenced this issue Aug 16, 2023
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

7 participants