@Revanth Thavidishetty , Welcome to the Microsoft Q&A platform.
You can monitor your HDInsight cluster by sending metrics and logs to a Log Analytics workspace.
With Azure Monitor, you can
- View and explore cluster-specific dashboards
- Query and analyze OSS logs and metrics
- View VM-level performance counters, such as Memory and CPU counters
- Get notified about important events by setting Azure Monitor alerts
- Monitor multiple clusters from the same Log Analytics workspace
Example: Once the logs are in Azure Monitor, you can create a new alerts based on the conditions required.
Reference: Use Azure Monitor logs to monitor HDInsight clusters and Overview of alerts in Microsoft Azure
Hope this helps. Do let us know if you any further queries.
----------------------------------------------------------------------------------------
Do click on "Accept Answer" and Upvote on the post that helps you, this can be beneficial to other community members.