参考官方文档设置ES的IP白名单
https://www.elastic.co/guide/en/elasticsearch/reference/current/ip-filtering.html

#https://www.elastic.co/guide/en/elasticsearch/reference/6.4/ip-filtering.html#_http_filtering
xpack.security.transport.filter.enabled: false
xpack.security.http.filter.enabled: true
#xpack.security.transport.filter.allow: [ "10.17.12.158", "10.17.35.68"]
#xpack.security.transport.filter.deny: _all
xpack.security.http.filter.allow: [ "10.17.12.158", "10.17.35.68" ]
xpack.security.http.filter.deny: _all

重启ES服务后,发现白名单不起作用。

https://www.elastic.co/cn/subscriptions
在这里插入图片描述

IP筛选属于收费服务。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐