Hello,
There is already an enhancement to further expose values under eventMessage variables such as condition, violating values etc.
Currently, eventMessage is the only option which is a long string.
You can use split / regex on a string as in the usual java context.
Example-
#set ($summary = ${latestEvent.summaryMessage})
#set ($job = $summary.split(" "))
summary: $summary
Job: $job[2]
Job2: $job.get(2)
This is the sample eventMessage-
AppDynamics has detected a problem with Node nodejs-api-services--9.
Memory utilization is too high started violating and is now critical.
All of the following conditions were found to be violating
For Node nodejs-api-services--9:
1) Hardware Resources|Memory|Used % Condition
Used %'s value 93.00 was greater than the threshold 90.00 for the last 30 minutes
where we have set condition name as "Hardware Resources|Memory|Used %"
... View more