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

Filter percent charts #4119

Closed
JulienPalard opened this issue Jun 5, 2015 · 5 comments
Closed

Filter percent charts #4119

JulienPalard opened this issue Jun 5, 2015 · 5 comments
Labels
discuss Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@JulienPalard
Copy link

I just got an idea, about the percent option about charts:

The actual "percent" mode only permit to compare a volume with other displayed volumes.

What about an option to permit to display a percentage of a volume alone ?

It's obscure, but let's take an example:

We all have at least "notice", "warning", and "errors" messages, and it's cool to display them in a single area chart, in "percent" mode, to have a view of how the proportion of each kind of messages change, independently of the volume (say day vs night).

Why not allowing to display a percentage area chart of say "error" only ? It would be exactly the same as displaying the tree values, but with the other values hidden.

Doing so permit to re-scale the Y axis, instead of 0-100% kibana would be able to display a scaled axis, say we almost never hit 5% of errors, kibana will choose a 0-8% Y axis to display something more readable than just a flatline.

@stormpython
Copy link
Contributor

@JulienPalard

In Kibana 4.1, you should be able to set the y axis bounds on percent charts that will allow you to do what you want here. So, if you wanted to set the percentage scale to display values between 0 and 8%, you can. Although the values from that range will fill the screen. If you wish to see the fluctuation, you can play around with the axis bounds.

@JulienPalard
Copy link
Author

OK for the bounding of Y axis, but what about hiding other areas ? To have a "white background" instead of "another value" in top of the displayed area ?

@rashidkpc
Copy link
Contributor

It would be interesting to add view-level toggling of series. I think there's a lot we could do with interactions to make that happen.

@vcastellm
Copy link

Another similar example.

HTTP status error rates. When storing web server logs, have an error rate chart 50x codes vs total requests.

Currently I'm using Kibana 4.1 Y axis bounds in percentage but it won't scale automatically so I'll need to change the bounds if the rate grows up the upper bound limit.

@tbragin tbragin added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Jan 9, 2017
@timroes
Copy link
Contributor

timroes commented Mar 29, 2018

The use-cases described in this ticket can be solved with bucket scripts, by using a simple division between two aggregation. You can achieve that nowadays in Visual Builder (TSVB) via the "Filter Ratio" aggregation, and in general that can be achieved via Bucket scripts aggregations for which we have another open ticket (#4707).

@timroes timroes closed this as completed Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

No branches or pull requests

6 participants