added status code for alerting
Merge branch 'elastic_status_code'