Windows系统+ELK+Logback 搭建日志收集服务器

Kibana下载安装请参考:https://blog.csdn.net/muriyue6/article/details/105381083
Elasticsearch下载安装请参考:https://blog.csdn.net/muriyue6/article/details/105381083
Logstash下载安装请参考:https://blog.csdn.net/muriyue6/article/details/105517041

 Logstash配置文件:

input {
    file {
        type => "nginx_access"
        path => "E:/phpStudy/WWW/log/crm6/*.log"
        start_position => "beginning"
    }
}
output {
    elasticsearch {
        hosts => ["127.0.0.1:9200"]
        index => "access-%{+YYYY.MM.dd}"
    }
    stdout {
        codec => json_lines
    }
}

 

Windows下ElasticSearch的Head安装及基本使用

https://www.cnblogs.com/zhangkaimin/p/13220283.html

posted @ 2021-04-15 16:58  流浪2024  阅读(321)  评论(0编辑  收藏  举报