elasticsearch kibana
https://www.elastic.co/downloads/kibana
https://www.elastic.co/downloads/elasticsearch
http://localhost:9200/
http://localhost:5601/?code=568262
自动生成 key
Elasticsearch security features have been automatically configured!
Authentication is enabled and cluster connections are encrypted.
Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):
-.....4xo
HTTP CA certificate SHA-256 fingerprint:
9138c..........................40c0a1...
Configure Kibana to use this cluster:
Run Kibana and click the configuration link in the terminal when Kibana starts.
Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):
eyJ2....CIsImF.....C44OC45N.....WTkExODllMjotc0xhWD......0=
Configure other nodes to join this cluster:
On this node:
Create an enrollment token with `bin/elasticsearch-create-enrollment-token -s node`.
Uncomment the transport.host setting at the end of config/elasticsearch.yml.
Restart Elasticsearch.
On other nodes:
Start Elasticsearch with `bin/elasticsearch --enrollment-token <token>`, using the enrollment token that you generated.
没有自动生成可能的error
Aborting auto configuration because of config dir ownership mismatch. Config dir is owned by [ABC] but auto-configuration directory would be owned by [XYZ]
set password
.\elasticsearch-setup-passwords.bat interactive
warning: ignoring JAVA_HOME=C:\pl\Java\jdk; using bundled JDK
******************************************************************************
Note: The 'elasticsearch-setup-passwords' tool has been deprecated. This command will be removed in a future release.
******************************************************************************
Initiating the setup of passwords for reserved users elastic,apm_system,kibana,kibana_system,logstash_system,beats_system,remote_monitoring_user.
You will be prompted to enter passwords as the process progresses.
Please confirm that you would like to continue [y/N]y
Enter password for [elastic]:
passwords must be at least [6] characters long
Try again.
Enter password for [elastic]:
Reenter password for [elastic]:
Enter password for [apm_system]:
Reenter password for [apm_system]:
Enter password for [kibana_system]:
Reenter password for [kibana_system]:
Enter password for [logstash_system]:
Reenter password for [logstash_system]:
Enter password for [beats_system]:
Reenter password for [beats_system]:
Enter password for [remote_monitoring_user]:
Reenter password for [remote_monitoring_user]:
Changed password for user [apm_system]
Changed password for user [kibana_system]
Changed password for user [kibana]
Changed password for user [logstash_system]
Changed password for user [beats_system]
Changed password for user [remote_monitoring_user]
Changed password for user [elastic]
.\elasticsearch-create-enrollment-token.bat -s kibana