Why it's giving 'No mapping found for [alert_time] in order to sort on' error while running elastalert?
Why it's giving 'No mapping found for [alert_time] in order to sort on' error while running elastalert? I am creating an application where I need to send a mail with elastalert. When I run command python -m elastalert.elastalert --verbose --rule myrulesmyrule.yaml to trigger the rule, I am having an exception as follows: python -m elastalert.elastalert --verbose --rule myrulesmyrule.yaml :ELK_InfoElastAlertelastalert-master>python -m elastalert.elastalert --verbose --rule myrulesmyrule.yaml INFO:elastalert:Starting up WARNING:elasticsearch:GET http://localhost:9200/elastalert_status_status/elastalert/_search?size=1000 [status:400 request:0.034s] ERROR:root:Error finding recent pending alerts: RequestError(400, u'search_phase_execution_exception', u'No mapping found for [alert_time] in order to sort on')'sort': 'alert_time': 'order': 'asc', 'query': 'bool': 'filter': 'range': 'alert_time&