ELK-7.2.0集群搭建-kibana

ELK-7.2.0集群搭建-elasticsearch

cd /home/kibana-7.2.0-linux-x86_64
vi config/kibana.yml

#端口
server.port: 5601
#服务Ip
server.host: "192.168.25.180"
#服务名
server.name: "kibana"
#ES地址
elasticsearch.hosts: ["http://192.168.25.180:9200"]
su bigdata

bin/kibana

后台启动

nohup bin/kibana &

kibana-启动成功日志

  log   [05:29:42.104] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.117] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.119] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.130] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.169] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.183] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.206] [warning][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   [05:29:42.209] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log   [05:29:42.249] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.251] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.254] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.310] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.312] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.331] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.337] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.340] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.349] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.374] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.394] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.396] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.398] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.406] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.416] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.422] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.442] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.452] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.456] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.465] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.492] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.495] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.504] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.510] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.530] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.581] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.583] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.595] [info][siem] Plugin initializing
  log   [05:29:42.629] [info][siem] Plugin done initializing
  log   [05:29:42.630] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.634] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.642] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.660] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.686] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.703] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.706] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.709] [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   [05:29:42.710] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:42.724] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [05:29:42.727] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:43.018] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:43.021] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:44.160] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.413] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
  log   [05:29:44.418] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.418] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.419] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.419] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.420] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.420] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.420] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.420] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.421] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.421] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.421] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.422] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.422] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.422] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.423] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:44.423] [info][kibana-monitoring][monitoring] Starting monitoring stats collection
  log   [05:29:44.432] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [05:29:49.391] [warning][browser-driver][reporting] Enabling the Chromium sandbox provides an additional layer of protection.
  log   [05:29:49.475] [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   [05:29:49.506] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [05:29:49.630] [info][task_manager] Installing .kibana_task_manager index template version: 7020099.
  log   [05:29:50.397] [info][task_manager] Installed .kibana_task_manager index template: version 7020099 (API version 1)
  log   [05:29:51.095] [warning][reporting] The Reporting plugin encountered issues launching Chromium in a self-test. You may have trouble generating reports: [[object Object]]
  log   [05:29:51.096] [warning][reporting] See Chromium's log output at "/home/kibana-7.2.0/data/headless_shell-linux/chrome_debug.log"
  log   [05:29:51.097] [warning][reporting] Reporting plugin self-check failed. Please check the Kibana Reporting settings. Error: Could not close browser client handle!
  log   [05:29:53.650] [info][migrations] Creating index .kibana_1.
  log   [05:29:54.411] [info][migrations] Pointing alias .kibana to .kibana_1.
 error  [05:29:54.654] [warning][stats-collection] [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" } :: {"path":"/.kibana/_search","query":{},"body":"{\"track_total_hits\":true,\"query\":{\"term\":{\"type\":{\"value\":\"space\"}}},\"aggs\":{\"disabledFeatures\":{\"terms\":{\"field\":\"space.disabledFeatures\",\"include\":[\"discover\",\"visualize\",\"dashboard\",\"dev_tools\",\"advancedSettings\",\"indexPatterns\",\"savedObjectsManagement\",\"timelion\",\"graph\",\"monitoring\",\"ml\",\"apm\",\"maps\",\"canvas\",\"infrastructure\",\"logs\",\"siem\",\"uptime\"],\"size\":18}}},\"size\":0}","statusCode":404,"response":"{\"error\":{\"root_cause\":[{\"type\":\"index_not_found_exception\",\"reason\":\"no such index [.kibana]\",\"resource.type\":\"index_or_alias\",\"resource.id\":\".kibana\",\"index_uuid\":\"_na_\",\"index\":\".kibana\"}],\"type\":\"index_not_found_exception\",\"reason\":\"no such index [.kibana]\",\"resource.type\":\"index_or_alias\",\"resource.id\":\".kibana\",\"index_uuid\":\"_na_\",\"index\":\".kibana\"},\"status\":404}"}
    at respond (/home/kibana-7.2.0/node_modules/elasticsearch/src/lib/transport.js:315:15)
    at checkRespForFailure (/home/kibana-7.2.0/node_modules/elasticsearch/src/lib/transport.js:274:7)
    at HttpConnector. (/home/kibana-7.2.0/node_modules/elasticsearch/src/lib/connectors/http.js:166:7)
    at IncomingMessage.wrapper (/home/kibana-7.2.0/node_modules/elasticsearch/node_modules/lodash/lodash.js:4935:19)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1103:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  log   [05:29:54.656] [warning][stats-collection] Unable to fetch data from spaces collector
  log   [05:29:54.728] [info][migrations] Finished in 1110ms.
  log   [05:29:54.730] [info][listening] Server running at http://192.168.25.180:5601
  log   [05:29:55.525] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready

后续启动成功日志

  log   [02:25:46.920] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:46.929] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:46.931] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:46.940] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:46.950] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:46.953] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:46.964] [warning][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   [02:25:46.968] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log   [02:25:46.993] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:46.994] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:46.997] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.043] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.045] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.061] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.069] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.071] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.079] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.107] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.122] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.124] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.127] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.129] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.137] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.142] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.158] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.164] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.168] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.170] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.187] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.188] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.192] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.195] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.220] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.256] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.258] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.273] [info][siem] Plugin initializing
  log   [02:25:47.296] [info][siem] Plugin done initializing
  log   [02:25:47.297] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.300] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.307] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.326] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.336] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.349] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.352] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.354] [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   [02:25:47.356] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.368] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [02:25:47.369] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.578] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:47.581] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:48.044] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.127] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
  log   [02:25:48.130] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.131] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.132] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.132] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.132] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.133] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.133] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.133] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.133] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.134] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.134] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.134] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.135] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.135] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.135] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:48.136] [info][kibana-monitoring][monitoring] Starting monitoring stats collection
  log   [02:25:48.143] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [02:25:49.006] [warning][browser-driver][reporting] Enabling the Chromium sandbox provides an additional layer of protection.
  log   [02:25:49.046] [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   [02:25:49.055] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [02:25:49.126] [info][task_manager] Installing .kibana_task_manager index template version: 7020099.
  log   [02:25:49.304] [warning][reporting] The Reporting plugin encountered issues launching Chromium in a self-test. You may have trouble generating reports: [Error: Protocol error (Target.setDiscoverTargets): Target closed.]
  log   [02:25:49.305] [warning][reporting] See Chromium's log output at "/home/kibana-7.2.0-linux-x86_64/data/headless_shell-linux/chrome_debug.log"
  log   [02:25:49.306] [warning][reporting] Reporting plugin self-check failed. Please check the Kibana Reporting settings. Error: Could not close browser client handle!
  log   [02:25:49.385] [info][task_manager] Installed .kibana_task_manager index template: version 7020099 (API version 1)
  log   [02:25:50.543] [info][migrations] Creating index .kibana_1.
  log   [02:25:51.026] [info][migrations] Pointing alias .kibana to .kibana_1.
  log   [02:25:51.155] [info][migrations] Finished in 631ms.
  log   [02:25:51.156] [info][listening] Server running at http://192.168.25.180:5601
  log   [02:25:51.917] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready

 

你可能感兴趣的:(ELK-7.2.0集群搭建-kibana)