[Fleet] 'index: false' is ignored in fields when installing templates #109764
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:EPM
Fleet team's Elastic Package Manager (aka Integrations) project
Team:Fleet
Team label for Observability Data Collection Fleet team
Kibana version:
8.0.0-SNAPSHOT
Elasticsearch version:
8.0.0-SNAPSHOT
Describe the bug:
When Fleet installs the Elasticsearch index template for an integration, it ignores
index: false
on fields. I think it's because of this:kibana/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts
Lines 280 to 282 in b382500
(That should probably check
field.index
is defined, rather than falsy?)Steps to reproduce:
index: false
Expected behavior:
Field should not be searchable (not indexed).
The text was updated successfully, but these errors were encountered: