美文网首页
四、ELK收集springboot日志

四、ELK收集springboot日志

作者: 梯度向下 | 来源:发表于2018-06-06 09:46 被阅读20次

新建springboot项目,具体步骤参考网络(百度或google)

maven工程

pom.xml(主要的第三方jar)

修改或新建logback.xml

resource目录下

新建一个controller

启动springboot项目,浏览器访问http://localhost:8080/log/testelk,就可以在kibana页面看到

相关文章

网友评论

      本文标题:四、ELK收集springboot日志

      本文链接:https://www.haomeiwen.com/subject/qynvsftx.html