Show More
@@ -103,7 +103,13 b' class LogService(BaseService):' | |||||
103 | messages = filter_settings.get('message') |
|
103 | messages = filter_settings.get('message') | |
104 | if messages: |
|
104 | if messages: | |
105 | query['query']['filtered']['query'] = { |
|
105 | query['query']['filtered']['query'] = { | |
106 |
'match': { |
|
106 | 'match': { | |
|
107 | 'message': { | |||
|
108 | 'query': ' '.join(messages), | |||
|
109 | 'operator': 'and' | |||
|
110 | } | |||
|
111 | } | |||
|
112 | } | |||
107 | return query |
|
113 | return query | |
108 |
|
114 | |||
109 | @classmethod |
|
115 | @classmethod |
General Comments 0
You need to be logged in to leave comments.
Login now