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

Hits/pie panel : list view with percent and "order by" capability #104

Closed
jsm-oxa opened this issue May 23, 2013 · 2 comments
Closed

Hits/pie panel : list view with percent and "order by" capability #104

jsm-oxa opened this issue May 23, 2013 · 2 comments

Comments

@jsm-oxa
Copy link

jsm-oxa commented May 23, 2013

Hi,

With the list view of the hits panel, add the possibility to display the score in percent.
Currently to do the trick, I cheat by modifying the ./panels/hits/module.html and adding :
{{query.label}}: {{((100*query.data[0][1])/hits)| number:2}}%
But I have to add the field one by one...and I don't want to spend my time by adding all term of a field.

Otherwise, it's a kind of merge between hits and pie panels functionalities :
-get a list of terms in a field as pie panel
-display them in a list with the percent
-possibility to order the list based on the label or the percent.
-in a pretty way :)

Example of use => Get a list a http status code ordered by label
because Pie and hits panels by default are horrible if you add code "200"...

I think it can be done by adding a kind of "list" mode in the pie panel for example...

Thank you !

@jsm-oxa
Copy link
Author

jsm-oxa commented May 24, 2013

An idea :
hits panel

  • style : list
  • replace "Queries" part by "Fields" and Search field as pie panel in "terms" mode
  • check box : display percent
  • "pretty" way :
    • display the text in configurable color if > 90%, > 75% ...
    • or horizontale bar in percent...like benchmark schema

@jsm-oxa jsm-oxa closed this as completed Jun 27, 2013
@OuesFa
Copy link

OuesFa commented Mar 20, 2015

Is there a way to do that in Kibana 4 ?

It would be helpful !

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

No branches or pull requests

2 participants