-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Field list is empty when missing permissions to view the mappings #70520
Comments
Hi @AlonaNadler, we need more details on this one. For starters, could you provide a screenshot of the discover page and the whole lens page (eg including time range picker)? Is this a cloud instance I could look into? |
This happens if the current user is not allowed to fetch mappings: It looks like we need this permission, so the only thing we can do here is to improve the handling of this case. Maybe just show all fields as available if the existence request fails? What do you think @mbondyra @wylieconlon ? |
Here's the decision tree I would use: The main question here is whether we can stop making three requests for field existence, specifically the mapping request. The mapping request is used to determine that
The new If that's too complicated, then all fields should be marked available. |
Pinging @elastic/kibana-app (Team:KibanaApp) |
I definitely like removing unnecessary calls for the existence check, especially because we call it relatively often.
I think we should do this part anyway - there are much more reasons for this request to fail. My vote would be to show them under "available fields" with a little warning icon including a tooltip with something like "Couldn't fetch existence information". |
Version 7.8
Lens index pattern has values in Discover and when I drag fields to the preview but on the left side it shows all fields has no data.
The text was updated successfully, but these errors were encountered: