使用python logging 模块将日志打印到Logstash
时间:2020-04-30 17:41:47
收藏:0
阅读:91
目的:将脚本运行时的日志打印到ES,通过kibana展示,特别是后台运行时,可知道脚本运行状态。
1.安装python-logstash模块
2.示例代码
3.通过kibana查看
原文:https://www.cnblogs.com/kcxg/p/12809592.html
评论(0)