elk 安装,省略 运行命令(windos)
logs#=================================================input { tcp { port => 5544 } file { path => "E:\work\php56\tools\nginx-1.9.0\logs\access.log" }}filter {}output { #stdout { # codec => rubydebug #} elasticsearch { hosts => ["localhost:9200"] }}#=================================================#logstash 日志收集 ./logstash.bat -f ../conf/eg.conf#elasticsearch 日志分析 ./elasticsearch.bat#kibana 日志展现 ./kibana.bat