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

[BUG] [Discover] Missing field in index pattern throws whole page error #5625

Closed
ashwin-pc opened this issue Dec 18, 2023 · 0 comments · Fixed by #5626
Closed

[BUG] [Discover] Missing field in index pattern throws whole page error #5625

ashwin-pc opened this issue Dec 18, 2023 · 0 comments · Fixed by #5626
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent v2.12.0

Comments

@ashwin-pc
Copy link
Member

Describe the bug

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Create an index patter using the saved object api for an index that does not yet exist:
curl -v -X POST  http://localhost:5601/api/saved_objects/index-pattern/ \
-H "osd-xsrf: true" \
-H "content-type: application/json" \
-d '{ "attributes": { "title": "abc*","timeFieldName": "@timestamp" } }'
  1. Go to discover and select the index pattern as a datasource
  2. See the screenshot below

Expected behavior

An error popup describing the error, but the rest of the page continues to function

OpenSearch Version
Please list the version of OpenSearch being used.

Dashboards Version
Please list the version of OpenSearch Dashboards being used.

Plugins

Please list all plugins currently enabled.

Screenshots

Screenshot 2023-12-18 at 12 48 00 PM

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

Add any other context about the problem here.

@ashwin-pc ashwin-pc added bug Something isn't working untriaged discover for discover reinvent data explorer Issues related to the Data Explorer project v2.12.0 labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent v2.12.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant