The archiver fails on ES 5.0: Archiving failed!: index() got an unexpected keyword argument 'consistency' The parameter was removed in ES 5.x: https://github.com/elastic/elasticsearch/pull/19454 It has been replaced by: wait_for_active_shards