An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
For part 1, a simple example would be this snippet below. This could be much improved.
Workbooks are pretty good to use for the 2nd part of your question, I'll add an example later.
Alert
| where AlertName contains "lowMemory" and Computer =="<insert my vm name>"