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][TSVB] Add support for default fields in convert to lens #151109

Closed
rajvi-ptl opened this issue Feb 14, 2023 · 6 comments
Closed

[Lens][TSVB] Add support for default fields in convert to lens #151109

rajvi-ptl opened this issue Feb 14, 2023 · 6 comments
Labels
enhancement New value added to drive a business result Feature:Lens Feature:TSVB TSVB (Time Series Visual Builder) impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@rajvi-ptl
Copy link

Describe the feature:
The "Convert to lens" feature will be added at the dashboard level in 8.7.0. This feature does not migrate TSVB visualizations that have not configured time_field.

Describe a specific use case for the feature:
The "Convert to lens" feature helps to migrate visualizations to the lens at the dashboard level. But for TSVB visualization, if time_field is not configured, it won't show the "Convert to lens" option. Although, after selecting time_field the "Convert to lens" will appear.

Before configuring time_field:
tsvb-i1-b

After configuring time_field:
tsvb-i1-a

@botelastic botelastic bot added the needs-team Issues missing a team label label Feb 14, 2023
@dej611 dej611 added Feature:TSVB TSVB (Time Series Visual Builder) enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Feb 14, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Feb 14, 2023
@elasticmachine
Copy link
Contributor

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

@dej611
Copy link
Contributor

dej611 commented Feb 14, 2023

I guess we could do something if we know the data view used. What do you think @stratoula ?

Edit
Tried to reproduce the issue but I couldn't. The default time field is already set when available for a time-based dataView and if the control is not set TSVB will render this error:

Screenshot 2023-02-14 at 13 50 27

Was that a dataView with no default time field set? What's the rest of the TSVB time series configuration?

@stratoula
Copy link
Contributor

I guess it is a TSVB that works on the deprecated index pattern mode.

@stratoula
Copy link
Contributor

@rajvi-crest I can't reproduce it

image

Can you share more info? Was it a migrated TSVB visualization? What have you configured on the data panel??

@rajvi-ptl
Copy link
Author

@rajvi-crest I can't reproduce it

image

Can you share more info? Was it a migrated TSVB visualization? What have you configured on the data panel??

When we try converting panels from existing dashboards (for example ActiveMQ), it won't show option Edit visualisation in lens. But if we will click on the time field and select @timestamp field then the Edit visualisation in lens option will be available on top.

This is happening in imported/integration's dashboard only. As the "time_field" value is empty in the json file of dashboard.

@stratoula stratoula added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Feb 15, 2023
@stratoula
Copy link
Contributor

Closing this as we cant reproduce it

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 Feature:TSVB TSVB (Time Series Visual Builder) impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants