Summary
In this chapter, we covered different best practices that we should follow for Elastic Stack. This is quite a general approach, and it may be possible that this practice is not related to the type of architecture you have, so it is quite important to understand the architecture of your Elastic Stack. Apart from that, apply the best practices as per your data size and the environment you are using.
For example, your Kibana setup is working on a production environment and everything is working fine, and now you suddenly make some changes to your Kibana configuration settings from the Management
tab, and it breaks everything. So, to avoid these situations, you need to test any configuration changes on the test environment first.
We also covered the issue of sparsity and how it can consume memory even when your document field has no data. Then, we discussed different ways to reduce sparsity such as avoiding unrelated data in the same index, normalizing the document, and avoiding different...