Machine ID In Alert

How do I put in the device dynamically for an alert so we can see what device is causing the issue?