Kibana connector how to show java exception in notification message

Good afternoon.

How to add java exception in notification message to alert? Currently we using slack as platform for alerts..

i've tried to add this:

- Message3: {{error.exception.message}} {{error.exception.type
}}
{{context.reason}}

{{rule.name}} is active with the following conditions:

- Service name: {{context.serviceName}}
- Environment: {{context.environment}}
- Error count: {{context.triggerValue}} errors over the last {{context.interval}}
- Threshold: {{context.threshold}}

- Message3: {{error.exception.message}} {{error.exception.type
}}

[View alert details]({{context.alertDetailsUrl}})