[Fleet] Add attribute allowNoIndex to Fleet index patterns #85627
Labels
bug
Fixes for quality problems that affect the customer experience
release_note:skip
Skip the PR/issue when compiling release notes
Team:Fleet
Team label for Observability Data Collection Fleet team
v7.11.0
v8.0.0
This #82223 changes how index patterns are loaded into the UI by looking in ES to create the index patterns. In the case of Fleet, indices may not exist yet. Because of our index placeholder which has no fields, it would overwrite the index patterns in our saved objects (
logs-*
,metrics-*
) to nothing. You can see this issue by going to Fleet app (new index patterns will be created with the installed packages fields, such as logs-*). Go to Stack Management -> Index Patterns ->logs-*
. There are no fields in the index patterns.To solve this #85370 will continue to use the saved object index patterns and if we add a new attribute
ignoreIndexNotFound
, it will not 404 when it finds no indices. No error message will be displayed.For Fleet this means we need to make a few changes:
readFromDocValues
in each fieldallowNoIndex
attribute to our index patterns during creationRelated: #65284
Depends on: #85370
The text was updated successfully, but these errors were encountered: