Документация AWS здесь указывает, что запросы SQL поддерживаются: https://aws.amazon.com/about-aws/whats-new/2019/05/amazon-elasticsearch-service-sql-support/
На этой странице показан синтаксис: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/sql-support.html
POST elasticsearch_domain/_opendistro/_sql { "query": "SELECT * FROM my-index LIMIT 50" }
Выполнение следующей команды в Kibana Dev Tools
POST my_domain/_opendistro/_sql { "query": "SELECT * FROM my-index LIMIT 50" }
выдает ошибку
{ "error": { "root_cause": [ { "type": "invalid_type_name_exception", "reason": "Document mapping type name can't start with '_', found: [_opendistro]" } ], "type": "invalid_type_name_exception", "reason": "Document mapping type name can't start with '_', found: [_opendistro]" }, "status": 400 }
Моя версия ElasticSearch 6.7.