让我们从打开日志开始:
curl -u-XPUT ‘ : /_cluster/settings?pretty’ -H ‘Content-Type: application/json’ -d’
{
“transient”: {
“logger.org.elasticsearch.xpack.security.authc”: “DEBUG”
}
}
‘
</code>
这将为您提供有关调试的任何身份验证日志。我认为原生境界的正确包装应该是
<a href =“https://github.com/elastic/elasticsearch/tree/master/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative"rel =” nofollow noreferrer“>
logger.org.elasticsearch.xpack.security.authc.esnative
如果你想限制它只是为了。