Source index settings
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Generally available
Stack
Generally available
All settings around the _source metadata field.
index.mapping.source.mode
: (Static, string) The source mode for the index. Valid values are synthetic, disabled or stored. Defaults to stored. The stored source mode always stores the source metadata field on disk.
index.recovery.use_synthetic_source
: (Static, boolean) If synthetic source mode is used, whether the recovery source should also be synthesized instead of stored to disk. Defaults to true. This setting can only be configured if synthetic source mode is enabled.
index.mapping.synthetic_source_keep
: (Static, string) Controls how to retain accuracy of fields at the index level. Valid values are none or arrays.This is a subset of synthetic source keep mapping attribute. Defaults to arrays if index.mode is logsdb or otherwise none.