Skip to content

Commit

Permalink
Update elastalert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luffynextgen authored Nov 15, 2023
1 parent 72eef1b commit a21862e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elastalert/elastalert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ def send_alert(self, matches, rule, alert_time=None, retried=False):
kb_link = generate_opensearch_discover_url(rule, matches[0])
if kb_link:
kb_link_formatter = self.get_opensearch_discover_external_url_formatter(rule)
matches[0]['kibana_discover_url'] = kb_link_formatter.format(kb_link)
matches[0]['opensearch_discover_url'] = kb_link_formatter.format(kb_link)



Expand Down

0 comments on commit a21862e

Please sign in to comment.