How to get all relevant data of anomaly into alert message

In the .ml-anomalies-* index, you need to query for result_type:record in order to get the detail that you see in the screenshot