Monitoring data is stored in data streams or indices in Elasticsearch. The default data stream or index settings may not work for your situation. For example, you might want to change index lifecycle management (ILM) settings, add custom mappings, or change the number of shards and replicas. The steps to change these settings depend on the monitoring method:
- Configuring data streams created by Elastic Agent
- Configuring data streams created by Metricbeat 8 (the default for version 8 Elasticsearch Service deployments on Elastic Cloud)
- Configuring indices created by Metricbeat 7 or internal collection
Changing mappings or settings can cause your monitoring dashboards to stop working correctly.