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

[Timelion] Known limitation when multiple index patterns / data views with the same name exist and runtime fields #146814

Closed
lucabelluccini opened this issue Dec 1, 2022 · 3 comments
Labels
enhancement New value added to drive a business result Feature:Timelion Timelion app and visualization impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. papercut Small "burr" in the product that we should fix. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@lucabelluccini
Copy link
Contributor

Currently, it is known that scripted fields and runtime fields are only supported in metric and split arguments of Timelion (as per #9022).

There's another limitation, very edge case, when on Kibana:

  • We are attempting to use scripted metrics or runtime fields for metric or split arguments of Timelion
  • More than one data view / index pattern are defined and match the index argument of Timelion and only one of them defines the scripted metric or runtime field

Example

  • Install the sample web logs data set (it has a hour_of_day runtime field)
  • Create a second data view hitting kibana_sample_data_logs (it is possible to create more than one data view with the same pattern in recent 8.x version)
  • Create a Timelion expression such as .es(index=kibana_sample_data_logs,metric=cardinality:hour_of_day)

You'll notice the visualization will flap from 0 to visualizing the actual data.

It's partially critical as there's no warning or error shown.
It would be nice to at least notify the user with a toast message that data might be incorrect in case more than one index pattern / data view is being hit

@lucabelluccini lucabelluccini added the Feature:Timelion Timelion app and visualization label Dec 1, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 1, 2022
@lucabelluccini
Copy link
Contributor Author

@bhavyarm bhavyarm added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Dec 1, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 1, 2022
@stratoula stratoula added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Dec 21, 2022
@stratoula stratoula added papercut Small "burr" in the product that we should fix. enhancement New value added to drive a business result labels Jun 1, 2023
@stratoula
Copy link
Contributor

Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment.

@stratoula stratoula closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2024
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:Timelion Timelion app and visualization impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. papercut Small "burr" in the product that we should fix. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants