To diagnose the deployment- and execution of Dynamics 365 for Finance and Operations, having access to telemetry is paramount. In cloud deployments, Microsoft stores and monitors telemetry from services to keep them healthy. For on-premises deployments, this task is left as an exercise to be fulfilled by the customer. There are several third party offering available, Elastic Stack, a third-party product, and one of many choices that can provide diagnostic monitoring of your on-premises solution. Step by step guide for configuring ELK for D365 FO On-premise https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/deployment/on-premises-diagnostics