forked from onebirdrocks/geektime-ELK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request onebirdrocks#4 from onebirdrocks/master
更新
- Loading branch information
Showing
41 changed files
with
2,230 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Kibana 的安装与界面快速浏览 | ||
## 课程Demo | ||
``` | ||
//启动kibana | ||
#启动kibana | ||
bin/kibana | ||
//查看插件 | ||
#查看插件 | ||
bin/kibana-plugin list | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
part-1/2.3-在Docker容器中运行Elasticsearch,Kibana和Cerebro/docker-es-7.2/docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
version: '2.2' | ||
services: | ||
cerebro: | ||
image: lmenezes/cerebro:0.8.3 | ||
container_name: cerebro | ||
ports: | ||
- "9000:9000" | ||
command: | ||
- -Dhosts.0.host=http://elasticsearch:9200 | ||
networks: | ||
- es72net | ||
kibana: | ||
image: docker.elastic.co/kibana/kibana:7.2.0 | ||
container_name: kibana72 | ||
environment: | ||
#- I18N_LOCALE=zh-CN | ||
- XPACK_GRAPH_ENABLED=true | ||
- TIMELION_ENABLED=true | ||
- XPACK_MONITORING_COLLECTION_ENABLED="true" | ||
ports: | ||
- "5601:5601" | ||
networks: | ||
- es72net | ||
elasticsearch: | ||
image: docker.elastic.co/elasticsearch/elasticsearch:7.2.0 | ||
container_name: es72_01 | ||
environment: | ||
- cluster.name=geektime | ||
- node.name=es72_01 | ||
- bootstrap.memory_lock=true | ||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | ||
- discovery.seed_hosts=es72_01 | ||
- network.publish_host=elasticsearch | ||
- cluster.initial_master_nodes=es72_01,es72_02 | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
volumes: | ||
- es72data1:/usr/share/elasticsearch/data | ||
ports: | ||
- 9200:9200 | ||
networks: | ||
- es72net | ||
elasticsearch2: | ||
image: docker.elastic.co/elasticsearch/elasticsearch:7.2.0 | ||
container_name: es72_02 | ||
environment: | ||
- cluster.name=geektime | ||
- node.name=es72_02 | ||
- bootstrap.memory_lock=true | ||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | ||
- discovery.seed_hosts=es72_01 | ||
- network.publish_host=elasticsearch | ||
- cluster.initial_master_nodes=es72_01,es72_02 | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
volumes: | ||
- es72data2:/usr/share/elasticsearch/data | ||
networks: | ||
- es72net | ||
|
||
|
||
volumes: | ||
es72data1: | ||
driver: local | ||
es72data2: | ||
driver: local | ||
|
||
networks: | ||
es72net: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.