-
Notifications
You must be signed in to change notification settings - Fork 158
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]: Clicking Save on Discover tab leads to permissions issue #2123
Comments
Transferring this issue to core dashboards repo. |
Looks like an authentication issue. Do you have any additinal details on why you werent able to save the search? Also @opensearch-project/admin can you transfer this to the dashboards security repo since this seems to be an auth related issue. |
@atalakey4work What version are you upgrading from? Was this working prior to upgrade? Are you searching on any index pattern in particular? |
@cwperks from version 2.16.0 to version 2.17.0. Note that I’m using the helm chart. |
What is the index pattern that the search is pertaining to and what plugins are installed on the cluster? |
There are no plugins, other than the out of the box plugins if any, installed on the cluster. The issue occurs with any index pattern. |
[Triage] @atalakey4work Can you provide a little more information about the setup? I am not able to reproduce the issue as described. |
@cwperks the issue started after upgrading OpenSearch and OpenSearch Dashboards to version 2.17.0. After the upgrade, I am no longer able to save new searches nor open searches previously saved. I had to downgrade OpenSearch Dashboards to version 2.16.0 to get the saved searches to work but I am still unable to save new searches. I was not able to downgrade OpenSearch as it would not allow me. I suspect it had something to do with the security plugin config so I took the latest copy from the below repo: https://github.com/opensearch-project/security/tree/main/config |
What index patterns are the saved searches on? I have a suspicion that there's a saved search that includes searching on system indices (system indices always start with a dot |
@cwperks I was able to resolve the error by updating the below in my opensearch_dashboarfs.yml Before: After: Now save works but whenever I open a saved search the saerch filters are not populated: Here is a copy of the kibanaSavedObjectMeta.searchSourceJSON
|
Describe the bug
After upgrading to OpenSearch and OpenSearch Dashboards version 2.16.0, we get error when we try to save a Discover search.
To reproduce
Expected behavior
Discover search is saved with no errors
Screenshots
Host / Environment
OpenSearch and OpenSearch Dashboards version 2.16.0
Additional context
No response
Relevant log output
The text was updated successfully, but these errors were encountered: