ELK クラスター用のカスタム領域を開発しました。
このモジュールは、ノード上の Elasticsearch ではうまく機能しますが、実稼働クラスターにインストールすると、何も機能しません。
Elasticsearch 開始ログ: - 特別なことは何もありません。すべてが機能しているようで、xpack モジュールがロードされています (stdout にログを生成します)
Elasticsearch クラスターの診断 (カスタムが無効で利用できないようです):
{
"security" : {
"available" : true,
"enabled" : true,
"realms" : {
"file" : {
"available" : true,
"enabled" : false
},
"ldap" : {
"available" : true,
"enabled" : false
},
"native" : {
"name" : [
"realm2"
],
"available" : true,
"size" : [
2
],
"enabled" : true,
"order" : [
1
]
},
"custom" : {
"available" : false,
"enabled" : false
},
...
}
エラスティックサーチ構成:
cluster.name: "production-cluster-1"
network.host: 0.0.0.0
bootstrap.memory_lock: true
xpack.security.enabled: true
xpack.security.audit.enabled: true
xpack.monitoring.enabled: true
xpack.graph.enabled: false
xpack.watcher.enabled: false
xpack.ml.enabled: false
discovery.zen.ping.unicast.hosts: "-------------------"
network.publish_host: "----"
discovery.zen.minimum_master_nodes: 3
xpack.security:
authc:
realms:
realm1:
type: custom
order: 0
realm2:
type: native
order: 1
ネイティブ認証は正常に機能します。
これを正しくトラブルシューティングするにはどうすればよいですか? :)
ありがとう