forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(slo): improve index selection (elastic#159849)
## 📝 Summary This PR changes the index selection component behaviours. We are fetching the Data Views (limit to 10 at a time). The user can select one of them, or search for other Data Views and index pattern that matches at least on index. Therefore the user can choose any Data Views matching a search, or the index pattern derived from the search, if it matches at least one index. | Screenshot | | -- | | ![image](https://github.com/elastic/kibana/assets/1376800/ae0b1304-d701-4b17-823d-f0a727df65d6) | | ![image](https://github.com/elastic/kibana/assets/1376800/187814bd-849e-4164-bb52-517d144507ad) | | ![image](https://github.com/elastic/kibana/assets/1376800/3f1a2d3c-e9f2-4490-81ba-5d76e8d1cbb8) | ## 🧪 Testing 1. **Create 11 data views or more** Easiest method is to use curl with a POST on `/api/data_views/data_view` with a random payload: ``` { "data_view": { "title": "{% uuid 'v4' %}-log*", "name": "{% uuid 'v4' %} " } } ``` 2. **Go to the SLO form and select custom KQL, then search for a data view or another index pattern**
- Loading branch information
Showing
9 changed files
with
110 additions
and
113 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
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.