Hi Imran Nawaz,
SharePoint tracks all the transactions in a log file and by default SharePoint log files are stored in the following location:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\LOGS
Currently, the following monitoring tools are available to monitor SharePoint Server and troubleshoot problems:
1.SharePoint Health Analyzer
5.System Center - Operations Manager with System Center Management Pack for SharePoint Server
7.SharePoint Developer Dashboard
8.Windows Management Instrumentation (WMI)
9.SQL Server Reporting Services (SSRS)
For more information, you can refer the documentation: Plan for monitoring in SharePoint Server - SharePoint Server | Microsoft Learn
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.