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

[Logs UI, Metrics UI] Data errors can block access to the settings page #64552

Closed
jasonrhodes opened this issue Apr 27, 2020 · 3 comments · Fixed by #65456
Closed

[Logs UI, Metrics UI] Data errors can block access to the settings page #64552

jasonrhodes opened this issue Apr 27, 2020 · 3 comments · Fixed by #65456
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@jasonrhodes
Copy link
Member

We're aware of mapping issues that occur in a user's configured indices can cause some error messages in the UI. These mapping issues should not block access to the settings page, which is where a user would be able to update their source configuration to point to different indices, to resolve the mapping problems.

Screen Shot 2020-04-24 at 9 28 16 AM

Can we confirm whether it's possible for a user to get into this state with an API error that isn't related to the settings page, in both the Logs UI and the Metrics UI? And if so, we should fix it in both places.

Related: we should consider exposing a validated API for updating the source configuration for cases like these, to prevent a user from becoming in an unfixable state.

@jasonrhodes jasonrhodes added bug Fixes for quality problems that affect the customer experience Feature:Metrics UI Metrics UI feature Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Apr 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@weltenwort
Copy link
Member

it's possible #64021 already fixed this

@jasonrhodes
Copy link
Member Author

To get in this state:

Turn on filebeat but don't run the setup command (don't install the index template)

or

Add a document to a new, untemplated, filebeat-whatever-* index with a @timestamp, message, and event.dataset fields.

Load the UI and you should see this error in the stream view but be able to get to the Settings tab. At the very least, you should get to the /settings URL if you go to it directly.

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:Logs UI Logs UI feature Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants