2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Tabula contentorum
3. Pasco kibana accessum verificationis
CPU nomen | Disputatio | Praecipua software |
---|---|---|
es01 | 192.168.9.114 | ElasticSearch |
es02 | 192.168.9.115 | ElasticSearch |
es03 | 192.168.9.116 | ElasticSearch、Kibana |
nginx01 | 192.168.9.113 | nginx、Logstash |
NA | 192.168.9.111 | nginx、Filebeat |
NA | 192.168.9.210 | Zookeeper、Kafka |
NA | 192.168.9.120 | Zookeeper、Kafka |
NA | 192.168.9.140 | Zookeeper、Kafka |
ELK, Filebead, zookeeper, kafka aedificari possunt ad interrogationes diaria priora
- cd /usr/local/filebeat
-
- vim filebeat.yml
- 注释162、164行内容
- 163行起添加
- output.kafka:
- enabled: true
- hosts: ["192.168.9.210:9092","192.168.9.120","192.168.9.140"] #指定 Kafka 集群配置
- topic: "nginx" #指定 Kafka 的 topic
-
- ————————————
Naviculas fasciculi in navigatro petit et novas stipes notitias generat
(http://192.168.9.111/test.htmlhttp://192.168.9.111/test1.html、http://192.168.9.111/)
- 启动 filebeat
- ./filebeat -e -c filebeat.yml
- cd /etc/logstash/conf.d/
- vim kafka.conf
- input {
- kafka {
- bootstrap_server => "192.168.9.210:9092,192.168.9.120:9092,192.168.9.140:9092"
- topics => "nginx"
- type => "nginx_kafka"
- auto_offset_reset => "latest"
- }
- }
-
- #filter {}
-
- output {
- elasticsearch {
- hosts => ["192.168.9.114:9200", "192.168.9.115:9200", "192.168.9.116:9200"]
- index => "nginx_kafka-%{+yyyy.MM.dd}"
- }
- }
-
-
-
- logstash -t -f kafka.conf
- logstash -f kafka.conf
Visita http://192.168.9.116:5601 cum navigatro, aperi Kibana, preme [Cre] bullam [Create Index Modus], quaere [nginx_kafka-*], preme conjunctionem [Next] creandi, elige [Next] @timestamp] puga, [modus indicem crea];