Skip to content

Commit

Permalink
Update opensearch_discover.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luffynextgen authored Nov 17, 2023
1 parent 5c82c89 commit 1fa776c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions elastalert/opensearch_discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
])

def generate_opensearch_discover_url(rule, match):
''' Creates a link for a kibana discover app. '''
''' Creates a link for a opensearch discover app. '''

discover_app_url = rule.get('opensearch_discover_app_url')
if not discover_app_url:
Expand Down Expand Up @@ -123,7 +123,6 @@ def opensearch_discover_app_filter(index, columns, filters, query_keys, match):

if filters:

# Remove nested query since the outer most query key will break Kibana 8.
new_filters = []
for filter in filters:
if 'query' in filter:
Expand Down

0 comments on commit 1fa776c

Please sign in to comment.