How to create Pattern to parse JSON log in Grok- Prometheus

谁说胖子不能爱 提交于 2019-12-11 19:06:13

问题


I'm trying to match LogMsg in log lines from log file to Prometheus.

LOGLINE: {"LogLevel":"INFO","LogMsg":"MESSAGE MSG","Time":"2019-07-19_03:59:15.583"} MATCH : ** what is the pattern **

how to create a pattern to match LogLevel AND LogMsg in grok?

来源:https://stackoverflow.com/questions/57199853/how-to-create-pattern-to-parse-json-log-in-grok-prometheus

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!