-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Meta] Index Patterns Everywhere #90076
Comments
Pinging @elastic/kibana-app-services (Team:AppServices) |
lets have a sync about this proposals. I completely agree with 1. but I am not sure i understand 2. correctly. our plan regarding server/client side index patterns goes mostly like this:
|
The UI side of this needs some design work, up front, since this is a critical piece of the user experience. This change will affect many applications and seems somewhat complex. The @elastic/kibana-design team can assist. |
closing in favor of #113440 - we'll work out the improved definition over there. |
Closed in favor of #113440
As I began work on Index pattern "pattern list” support (comma delimited list of index patterns) #87851 , it became apparent that in order to make enhancements to Kibana Index Patterns (KIP), first we would need to sync across how we are using KIP by making 2 pre-requisite changes. Otherwise, implementing the change causes a lot of downstream changes.
1. All Kibana apps should use the
IndexPatternsService
to access index patterns, not the saved objects APIFor example, many apps are directly accessing KIP via the saved objects api rather than using the
IndexPatternsService
. If these apps were using theIndexPatternsService
, everyone gets index pattern updates for free via rather than updating their saved object requests. Perhaps an important spot to update is the Saved Objects API documentation, which usestype: 'index-pattern'
as an example!2. The
IndexPatternsService
is currently being called both client side and server side.IndexPatternsService
should not be called by the index pattern server routesIndexPatternsService
methods should be updated to be like thegetFieldsForWildcard
, which makes a server-side call to do the work. All the logic fromIndexPatternsService
should be moved to server-side fileIndexPatternsFetcher
.IndexPatternsService
should be changed to reference the new methods in server-sideIndexPatternsFetcher
Once these 2 issues are handled, something like the
patternList
update becomes easy to implement. Reference this PR for the code.The text was updated successfully, but these errors were encountered: