Share via

i want to create Alert for AKS nodes.

Anjali Gobari 100 Reputation points
2025-04-30T13:18:58.0966667+00:00

Hi,

I have to create AKS alert using log alert rules, basically a KQL and have the following metrics to cover.

  1. NodeMemoryPressure / NodeDiskPressure / NodePIDPressure
  2. NodeOutOfDisk

Please help me in understanding which table in the Log Analytics workspace will have these info.

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


Answer accepted by question author

Dharani Reguri 1,175 Reputation points Microsoft External Staff Moderator
2025-05-05T14:05:58.9766667+00:00

Hi Anjali Gobari,

we don't get NodePID pressure by default from the Log analytics workspace. Node PID pressure occurs when a node is running too many processes and is running out of process IDs. Unlike memory or disk metrics, this isn't a standard performance counter, but we can write Bash script to fetch the Node PID pressure status and send those metrics to log analytics by using Log Analytics HTTP Data Collector. Then the data appears in custom log table. From that table, we can fetch the NodePID pressure details.

Please let me know if you have any questions.

Thank you

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.