elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.65k stars 8.23k forks source link

[Fleet] Replace Fleet's usage of `_source.mode` within mapping settings with `index.mapping.source.mode` setting #199698

Open kpollich opened 1 week ago

kpollich commented 1 week ago

Today, Fleet provides _source.mode: "synthetic" as part of a given field mapper for fields that use synthetic source. This approach is being deprecated in 9.0, and Fleet's mapping logic should be update to include the following instead:

PUT my-index
{
   "settings": {
       "index.mapping.source.mode": "synthetic"
   }
}

Currently, the two approaches are functionally equivalent, so this should have no notable impact on end users or data stream functionality.

Open questions

elasticmachine commented 1 week ago

Pinging @elastic/fleet (Team:Fleet)