diff --git a/elastalert/alerts.py b/elastalert/alerts.py index cb0dc654e..cbc342c76 100644 --- a/elastalert/alerts.py +++ b/elastalert/alerts.py @@ -2193,6 +2193,9 @@ def alert(self, matches): artifacts = [] for match in matches: artifacts += self.create_artifacts(match) + if 'related_events' in match: + for related_event in match['related_events']: + artifacts += self.create_artifacts(related_event) alert_config['artifacts'] = artifacts alert_config['title'] = self.create_title(matches)