ELK
ELK copied to clipboard
搭建ELK日志分析平台。
ES性能优化
I'm using elasticsearch 1.5 and it is working perfectly the most part of the time, but everyday at the same time it becomes crazy, CPU % goes to ~70% when...
# 平台搭建参考文章 https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7 https://www.digitalocean.com/community/tutorials/how-to-gather-infrastructure-metrics-with-topbeat-and-elk-on-centos-7 https://www.digitalocean.com/community/tutorials/adding-logstash-filters-to-improve-centralized-logging https://www.digitalocean.com/community/tutorials/how-to-use-kibana-dashboards-and-visualizations https://www.digitalocean.com/community/tutorials/how-to-map-user-location-with-geoip-and-elk-elasticsearch-logstash-and-kibana # yml语法校验 http://yaml-online-parser.appspot.com/ http://www.yamllint.com/ # linux tutorials https://www.digitalocean.com/community/tutorials http://www.unixmen.com/ http://linoxide.com/ # tomcat日志分析 https://aggarwalarpit.wordpress.com/2015/12/03/configuring-elk-stack-to-analyse-apache-tomcat-logs/ https://www.systemcodegeeks.com/web-servers/apache/configuring-elk-stack-analyse-apache-tomcat-logs/ http://stackoverflow.com/questions/25429377/how-can-i-integrate-tomcat6s-catalina-out-file-with-logstash-elasticsearch https://blog.codecentric.de/en/2014/10/log-management-spring-boot-applications-logstash-elastichsearch-kibana/ https://blog.lanyonm.org/articles/2014/01/12/logstash-multiline-tomcat-log-parsing.html https://spredzy.wordpress.com/2013/03/02/monitor-your-cluster-of-tomcat-applications-with-logstash-and-kibana/ # log4j日志分析 https://qbox.io/blog https://github.com/logstash/log4j-jsonevent-layout https://www.elastic.co/guide/en/logstash/current/plugins-inputs-log4j.html...
# Elasticsearch安装 ``` rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch ``` /etc/yum.repos.d/elasticsearch.repo ``` [elasticsearch-2.x] name=Elasticsearch repository for 2.x packages baseurl=https://packages.elastic.co/elasticsearch/2.x/centos gpgcheck=1 gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch enabled=1 ``` ``` yum install elasticsearch chkconfig --add elasticsearch ``` centos 7...