跳至主要內容

elasticsearch

wangdx大约 1 分钟

参考网址

elastic官网open in new window

elastic源码open in new window

docker-compose 快速部署 elasticsearch-8.x 集群+kibanaopen in new window

docker-compose 快速部署 elasticsearch-8.x 集群+kibanaopen in new window

利用 docker compose 搭建 elasticsearch 和 kibanaopen in new window

https://blog.csdn.net/m0_54219225/article/details/130667081

https://zhuanlan.zhihu.com/p/358744225

https://blog.csdn.net/crazyo2jam/article/details/125533281

━
✅ 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`):
  jq8X5wuZLlWWtSK*rGhw

ℹ️  HTTP CA certificate SHA-256 fingerprint:
  63f913f926650162c3f2cb1831d4ad22252fa8d6b44cf9dc5af1dd96994b7b99

ℹ️  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):
  eyJ2ZXIiOiI4LjEyLjIiLCJhZHIiOlsiMTkyLjE2OC4xNi4xMzo5MjAxIl0sImZnciI6IjYzZjkxM2Y5MjY2NTAxNjJjM2YyY2IxODMxZDRhZDIyMjUyZmE4ZDZiNDRjZjlkYzVhZjFkZDk2OTk0YjdiOTkiLCJrZXkiOiI1ZHhnWVk0Qk5nVEZacjR0QVpWNjp5R2ZGNy12N1J3MkN5Qy0xSi1veVFBIn0=

ℹ️  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.

安装配置

useradd yix
passwd yix
su yix
bin/elasticsearch

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✅ 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): qzCEQ4z9hmraT7F6nPC9

ℹ️ HTTP CA certificate SHA-256 fingerprint: 724c109af40d980dff2073fb6fe834b533fc8bb8ade5d8c2465b2584ad058a7c

ℹ️ 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): eyJ2ZXIiOiI4LjEyLjIiLCJhZHIiOlsiMTkyLjE2OC4xNi4xMzo5MjAwIl0sImZnciI6IjcyNGMxMDlhZjQwZDk4MGRmZjIwNzNmYjZmZTgzNGI1MzNmYzhiYjhhZGU1ZDhjMjQ2NWIyNTg0YWQwNThhN2MiLCJrZXkiOiJDbnlhWTQ0Qk5EZDJjbnJYcHhmZzppcFNmRTVVcFFVQ1ZjQjFEVnllWDhBIn0=

ℹ️ 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. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

上次编辑于: