It seems you are experiencing issues with resolving dynamic values in the email subject for Log Search Alerts V2. Based on the context provided, here are a few points to consider:
- Common Alert Schema: Ensure that the Common Alert Schema is correctly configured, as it can affect how dynamic values are parsed and included in the email subject. You mentioned that it is enabled, which is good.
- Dynamic Value Format: The format for extracting dynamic values from the alert payload should follow the common alert schema. For instance, you should use the correct path to the schema fields. The format for extracting a dynamic value is typically
${data.essentials.<field>}. Ensure that you are using the correct field names as per the schema. - Testing with Different Tokens: Since you are receiving the tokens literally, it may be worth testing with simpler tokens or checking if the alert is indeed firing with the expected data. Sometimes, the issue could be with the alert not returning the expected results.
- Documentation Review: Review the documentation for any updates or specific examples related to the Single Event (preview) feature, as there may be nuances in how dynamic values are handled in this particular context.
If the issue persists, consider reaching out to Microsoft support or checking community forums for similar experiences, as they may provide additional insights or solutions.
References: