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

[Lens] Dedicated compare chart #43833

Closed
AlonaNadler opened this issue Aug 22, 2019 · 6 comments
Closed

[Lens] Dedicated compare chart #43833

AlonaNadler opened this issue Aug 22, 2019 · 6 comments
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@AlonaNadler
Copy link

AlonaNadler commented Aug 22, 2019

Currently, in order to compare 2 fields, users often have them on the same chart from different sides of the axis (horizontally or vertically)

To achieve that today users often do bucket script to multiply a series with *-1 we should have a dedicated chart for it where users can add 2 different fields and see them based on a common axis

Example:
metricbeats read.bytes vs write.bytes

image

image

@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Jan 9, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon
Copy link
Contributor

There's a similar request here: #54582

@wylieconlon
Copy link
Contributor

Another similar request came in here, for a vertical comparison chart: #83738

@wylieconlon
Copy link
Contributor

I think the input requirements for this type of chart are different than the input requirements for standard XY charts. Specifically, I think we need exactly two series. So the two options are:

a. No break down by, just the axis & two numeric metrics. This works if we support filters for each number
b. This option is not currently possible, but we could source the data by using a bucketed aggregation with exactly 2 buckets, followed by an another aggregation with any number of buckets and one metric.

@ghudgins
Copy link
Contributor

ghudgins commented Aug 3, 2021

can do this now with formula but need to resolve this elastic-charts issue with negative values elastic/elastic-charts#1280

...consider comparison example in formula in product doc

...could also suggest this visualization method if we improve suggestions as well

@markov00
Copy link
Member

AS probably described by Graham, this can be achieved with formula

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

7 participants