elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.5k stars 8.05k forks source link

[ResponseOps][Connectors] add the "service message" to the message generated for email errors #187288

Open pmuellr opened 2 weeks ago

pmuellr commented 2 weeks ago

Currently when an email connector fails, we don't write out much for the message:

Action '[email connector name]' failed: error sending email".

You can see in the event log however, there are some messages set in error.message which contain more useful info:

I think these sort of messages should be added to the existing message, so it would be something like:

Action '[email connector name]' failed: error sending email: command failed: 450 4.7.1 Error: too much mail from XXX.YYY.ZZZ.AAA

Without this, it makes it much harder to diagnose errors with email connectors, as we have to poke into the event log of the cluster to get the error.message fields ...

elasticmachine commented 2 weeks ago

Pinging @elastic/response-ops (Team:ResponseOps)