Stay Hungry,Stay Foolish!

ELK monitor Jenkins jobs

ELK monitor Jenkins jobs

https://github.com/fanqingsong/jenkins-elk-docker

监控每一个jenkins jobs build日志,

全部容器化配置,

jenkins容器产生日志文件

filebeat容器监控日志文件

logstash接到filebeat处理后的日志条目

elasticsearch接收到logstash处理后的日志条目

kibana从elasticsearch中查询日志,并展示。

docker-jenkins-elk

CI and Monitoring stacks using Docker

Just execute the script runall.sh and see the magic happen! Once completed, respective applications can be accessed at below ports on your machine's IP (provided there are no conflicts) :

Jenkins : 8080

Sonar : 9000

Artifactory : 8081

ElasticSearch : 9200

Kibana : 5601

 

参考:

https://github.com/jenkinsci/docker

 

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

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

 

https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html

https://www.elastic.co/guide/en/logstash/current/config-examples.html

https://www.elastic.co/guide/en/kibana/5.0/access.html

https://www.elastic.co/guide/en/elasticsearch/reference/5.0/docker.html

 

posted @ 2023-11-22 00:02  lightsong  阅读(19)  评论(0编辑  收藏  举报
Life Is Short, We Need Ship To Travel