Currently Console only supports Elasticsearch 1.x and 2.x APIs: https://github.com/elastic/kibana/tree/master/src/plugins/console/api_server. Now that Console is an included plugin starting with Kibana 5.x, it should support Elasticsearch 5.x APIs as well.