ES catalog使用esquery函数时http 400错误

Viewed 26

使用esquery查询时报错,但是提示信息只有400,be日志里也没有其他提示,如何定位?
catalog配置如下:
CREATE CATALOG es_log PROPERTIES (
"type"="es",
"hosts"="http://代理地址:9200",
"user"="elastic",
"password"="xx",
"enable_docvalue_scan" = "true",
"nodes_discovery"="true"
);

报错信息:
image.png

1 Answers

400错误码可能是url、参数、端口等填写错误或通信异常导致,可以再确定下这几项是否正常。