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 showing empty field when there is data #89716

Closed
alexfrancoeur opened this issue Jan 29, 2021 · 4 comments
Closed

Lens showing empty field when there is data #89716

alexfrancoeur opened this issue Jan 29, 2021 · 4 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens feedback_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@alexfrancoeur
Copy link

For some reason I feel like I've opened a bug for this before, so it may already be addressed. I'm looking back 30 days where there is relevant data, but Lens is telling me the field is empty. I would expect this field to be available under all fields. I'm not sure what timeframe we're looking back for data, but should we be matching the global time picker?

Screen Shot 2021-01-29 at 8 22 41 AM

This is on version 7.10.1. Happy to share an example if needed

@alexfrancoeur alexfrancoeur added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Jan 29, 2021
@elasticmachine
Copy link
Contributor

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

@flash1293
Copy link
Contributor

We are sourcing 500 documents for determining whether a field is "available". If the field is only present on some documents, you can be unlucky and run into this case where Lens is reporting the wrong thing. Does it work correctly if you add a filter "x does exist" (x being the field name)?

@flash1293
Copy link
Contributor

If that's the case, there is an issue for this already: #58330

Also, the rest of Lens should still work (if you pull in the field, you should get a chart)

@alexfrancoeur
Copy link
Author

We are sourcing 500 documents for determining whether a field is "available". If the field is only present on some documents, you can be unlucky and run into this case where Lens is reporting the wrong thing. Does it work correctly if you add a filter "x does exist" (x being the field name)?

Yes, if I filter on that field, it shows up in the list of available fields. I'll close out in favor of #58330 but it feels like we'll want a better experience here as we begin to make Lens the default experience. It doesn't seem like Lens handles sparse fields that well. I can understand the performance impact for optimizing for sparse fields, but there has to be a better UX.

The scenario I find the most unsettled is when the preview comes empty and when dropped it shows data, it makes Lens seem unreliable. I understand it is due to sparse data, maybe we should try to optimize only this use case.

I have similar thoughts to @AlonaNadler's in that issue, that was exactly what I thought and immediately went to the older visualize application as a result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens feedback_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants