参考官方文档设置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筛选属于收费服务。