You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doc_type was completely deprecated in ES > 7.x, however when I use use_count_query or use_terms_query in my rules, rule validation fails:
File "/usr/local/lib/python3.5/dist-packages/elastalert-0.2.1-py3.5.egg/elastalert/loaders.py", line 373, in load_options
raise EAException('doc_type must be specified.')
elastalert.util.EAException: doc_type must be specified.
In case ES 7.x cluster is used, this validation shall be omitted.
The text was updated successfully, but these errors were encountered:
This is the exact code block that needs to be changed: loaders.py
# Check that doc_type is provided if use_count/terms_query
if rule.get('use_count_query') or rule.get('use_terms_query'):
if 'doc_type' not in rule:
raise EAException('doc_type must be specified.')
Hi!
doc_type was completely deprecated in ES > 7.x, however when I use use_count_query or use_terms_query in my rules, rule validation fails:
In case ES 7.x cluster is used, this validation shall be omitted.
The text was updated successfully, but these errors were encountered: