-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix refreshing index pattern fields does not include the scripted fie…
…lds (#6237) * fix: refresh index pattern fields does not include the scripted fields - Replaced custom service logic for a similar one to the Dashboards Management/Index pattern of the platform - Removed the ability to define fields that are not fields from the indices that match the index pattern or scripted fields * changelog: add entry * fix: replace the SavedObjects.refreshIndexPattern method - Use a more low level logic to update the index pattern fields taking in account the scripted fields - The SavedObjects.refreshIndexPattern now throws an error when something fails instead of return the error message - Display a warning in the check fields or when refreshing the index pattern of the default configurated index pattern of the plugins * fix: minor fixes in warning messages of the health check --------- Co-authored-by: Federico Rodriguez <[email protected]>
- Loading branch information
1 parent
d7ba9d3
commit 5603760
Showing
7 changed files
with
320 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.