elastic / elastic/docs-content
[REQUEST]: Default index settings and mappings
- Dominant language
- No language data
- Stars
- 47
- Forks
- 261
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 116
Description
### Description
Fleet & Agent integrations provide a number of global index settings and mappings defaults which are designed to strike a good balance for a typical use cases between indexing performance, search performance, and storage size.
We should document what these defaults are, the rationale for choosing them, and also consider documenting how to tweak them for optimizing for certain use cases.
Should include at least the following:
- `index.codec`
- `number_of_shards`
- `number_of_replicas`
- `number_of_routing_shards`
- `refresh_interval`
- `index: false` / doc-only-value
- `mapping.total_fields.limit`
- `_source: synthetic`
- TSDB-related settings
### Resources
- https://github.com/elastic/kibana/issues/104620
- https://github.com/elastic/obs-infraobs-team/issues/405
- (not yet implemented) https://github.com/elastic/integrations/issues/3419
- [Slack thread about compression recommendations](https://elastic.slack.com/archives/C01QQ449KE1/p1666706836665309)
- Related Elasticsearch Docs:
- [Tune for indexing speed](https://www.elastic.co/guide/en/elasticsearch/reference/master/tune-for-indexing-speed.html)
- [Tune for search speed](https://www.elastic.co/guide/en/elasticsearch/reference/master/tune-for-search-speed.html)
### Collaboration
TBD. The docs and product team will work together to determine the best path forward.
### Point of contact.
**Main contact:** @joshdover
**Stakeholders:** @jsvd @amitkanfer
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.