Q:非洲食人族的酋长吃什么?

Kibana 7.4 无法连接elasticsearch 7.4

Kibana | 作者 wally1031 | 发布于2019年10月10日 | 阅读数:15901

可以确定elasticsearch 7.4 是正常运行的,使用curl 192.168.0.90:9200返回结果:
{
  "name" : "node-1",
  "cluster_name" : "Log",
  "cluster_uuid" : "sUqd-OFdRhutSZRYcFxxjQ",
  "version" : {
    "number" : "7.4.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "22e1767283e61a198cb4db791ea66e3f11ab9910",
    "build_date" : "2019-09-27T08:36:48.569419Z",
    "build_snapshot" : false,
    "lucene_version" : "8.2.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}
 
启动kibana时报错
[elk@localhost kibana74]$ ./bin/kibana
  log   [03:52:59.392] [info][plugins-system] Setting up [4] plugins: [security,inspector,data,translations]
  log   [03:52:59.402] [info][plugins][security] Setting up plugin
  log   [03:52:59.404] [warning][config][plugins][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
  log   [03:52:59.405] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log   [03:52:59.469] [info][data][plugins] Setting up plugin
  log   [03:52:59.470] [info][plugins][translations] Setting up plugin
  log   [03:52:59.472] [info][plugins-system] Starting [3] plugins: [security,data,translations]
  log   [03:53:23.663] [info][status][plugin:kibana@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.668] [info][status][plugin:elasticsearch@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.669] [info][status][plugin:xpack_main@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.677] [info][status][plugin:telemetry@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.678] [info][status][plugin:graph@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.685] [info][status][plugin:monitoring@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.688] [info][status][plugin:spaces@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.713] [info][status][plugin:security@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.714] [info][status][plugin:searchprofiler@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.716] [info][status][plugin:ml@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.760] [info][status][plugin:tilemap@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.761] [info][status][plugin:watcher@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.773] [info][status][plugin:grokdebugger@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.777] [info][status][plugin:dashboard_mode@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.778] [info][status][plugin:logstash@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.784] [info][status][plugin:beats_management@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.798] [info][status][plugin:apm_oss@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.820] [info][status][plugin:apm@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.821] [info][status][plugin:code@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.823] [info][status][plugin:data@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.824] [info][status][plugin:visualizations@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.830] [info][status][plugin:interpreter@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.832] [info][status][plugin:tile_map@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.834] [info][status][plugin:task_manager@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.838] [info][status][plugin:maps@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.866] [info][status][plugin:canvas@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.873] [info][status][plugin:license_management@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.876] [info][status][plugin:cloud@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.878] [info][status][plugin:index_management@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.902] [info][status][plugin:console@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.904] [info][status][plugin:console_extensions@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.907] [info][status][plugin:index_lifecycle_management@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.924] [info][status][plugin:metrics@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.976] [info][status][plugin:infra@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:23.985] [info][status][plugin:rollup@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:23.998] [info][siem] Plugin initializing
  log   [03:53:24.042] [info][siem] Plugin done initializing
  log   [03:53:24.043] [info][status][plugin:siem@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.050] [info][status][plugin:remote_clusters@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:24.053] [info][status][plugin:cross_cluster_replication@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:24.082] [info][status][plugin:upgrade_assistant@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.118] [info][status][plugin:uptime@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.124] [info][status][plugin:oss_telemetry@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.127] [info][status][plugin:file_upload@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:24.131] [warning][encrypted_saved_objects] Generating a random key for xpack.encrypted_saved_objects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encrypted_saved_objects.encryptionKey in kibana.yml
  log   [03:53:24.133] [info][status][plugin:encrypted_saved_objects@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.154] [info][status][plugin:snapshot_restore@7.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [03:53:24.168] [info][status][plugin:kibana_react@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.171] [info][status][plugin:region_map@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.269] [info][status][plugin:timelion@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.273] [info][status][plugin:ui_metric@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.275] [info][status][plugin:markdown_vis@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.277] [info][status][plugin:metric_vis@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.279] [info][status][plugin:table_vis@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.281] [info][status][plugin:tagcloud@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.284] [info][status][plugin:vega@7.4.0] Status changed from uninitialized to green - Ready
  log   [03:53:24.288] [warning][browser-driver][reporting] Enabling the Chromium sandbox provides an additional layer of protection.
  log   [03:53:24.307] [error][admin][elasticsearch] Request error, retrying
HEAD http://192.168.0.90:9200/.apm-agent-configuration => connect ECONNREFUSED 192.168.0.90:9200
  log   [03:53:24.310] [error][admin][elasticsearch] Request error, retrying
GET http://192.168.0.90:9200/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip => connect ECONNREFUSED 192.168.0.90:9200
  log   [03:53:25.117] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:25.118] [warning][admin][elasticsearch] No living connections
Could not create APM Agent configuration: No Living connections
  log   [03:53:25.120] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:25.120] [warning][admin][elasticsearch] No living connections
  log   [03:53:25.121] [error][status][plugin:xpack_main@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.121] [error][status][plugin:graph@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.121] [error][status][plugin:spaces@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.122] [error][status][plugin:searchprofiler@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.122] [error][status][plugin:ml@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.122] [error][status][plugin:tilemap@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.122] [error][status][plugin:watcher@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.123] [error][status][plugin:grokdebugger@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.123] [error][status][plugin:logstash@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.123] [error][status][plugin:beats_management@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.124] [error][status][plugin:maps@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.124] [error][status][plugin:index_management@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.124] [error][status][plugin:index_lifecycle_management@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.125] [error][status][plugin:rollup@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.125] [error][status][plugin:remote_clusters@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.125] [error][status][plugin:cross_cluster_replication@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.125] [error][status][plugin:file_upload@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.126] [error][status][plugin:snapshot_restore@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.126] [error][status][plugin:elasticsearch@7.4.0] Status changed from yellow to red - No Living connections
  log   [03:53:25.129] [error][data][elasticsearch] Request error, retrying
GET http://192.168.0.90:9200/_xpack => connect ECONNREFUSED 192.168.0.90:9200
  log   [03:53:25.132] [warning][data][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:25.133] [warning][data][elasticsearch] No living connections
  log   [03:53:25.133] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Error: No Living connections
  log   [03:53:25.844] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
  log   [03:53:25.897] [error][status][plugin:reporting@7.4.0] Status changed from uninitialized to red - No Living connections
  log   [03:53:25.943] [error][status][plugin:security@7.4.0] Status changed from green to red - No Living connections
  log   [03:53:25.975] [warning][data][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:25.976] [warning][data][elasticsearch] No living connections
  log   [03:53:25.976] [warning][reporting] Reporting plugin self-check failed. Please check the Kibana Reporting settings. Error: No Living connections
  log   [03:53:25.977] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:25.978] [warning][admin][elasticsearch] No living connections
  log   [03:53:27.631] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:27.631] [warning][admin][elasticsearch] No living connections
  log   [03:53:28.908] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:28.908] [warning][admin][elasticsearch] No living connections
  log   [03:53:30.135] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:30.135] [warning][admin][elasticsearch] No living connections
  log   [03:53:32.637] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:32.638] [warning][admin][elasticsearch] No living connections
  log   [03:53:35.142] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:35.143] [warning][admin][elasticsearch] No living connections
  log   [03:53:37.646] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:37.646] [warning][admin][elasticsearch] No living connections
  log   [03:53:40.149] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:40.150] [warning][admin][elasticsearch] No living connections
  log   [03:53:42.653] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:42.653] [warning][admin][elasticsearch] No living connections
  log   [03:53:45.158] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:45.160] [warning][admin][elasticsearch] No living connections
  log   [03:53:47.665] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:47.665] [warning][admin][elasticsearch] No living connections
  log   [03:53:50.170] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:50.170] [warning][admin][elasticsearch] No living connections
  log   [03:53:52.673] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:52.673] [warning][admin][elasticsearch] No living connections
  log   [03:53:55.138] [warning][data][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:55.139] [warning][data][elasticsearch] No living connections
  log   [03:53:55.139] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Error: No Living connections
  log   [03:53:55.176] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:55.176] [warning][admin][elasticsearch] No living connections
  log   [03:53:57.679] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
  log   [03:53:57.680] [warning][admin][elasticsearch] No living connections
  log   [03:53:58.915] [warning][admin][elasticsearch] Unable to revive connection: http://192.168.0.90:9200/
 
是不是必须使用 X-Pack ?
已邀请:

要回复问题请先登录注册