将这些日志解析为grok

时间:2018-07-27 09:57:04

标签: json log4j logstash weblogic logstash-grok

我想问问是否有人可以帮助我确定在logstash配置中使用的这些日志行的grok模式。

DEBUG 2018-07-25 14:29:32,171 main.MobileApplication(getJSONFromHttpBody:1015) - ############# Reading : 284 bytes
DEBUG 2018-07-25 14:29:32,171 main.MobileApplication(getJSONFromHttpBody:1044) - ############# HTTP REQUEST BODY
{
    "locale": "en",
    "deviceId": "ASPK5687-7H7H-5476-M9M9-8H8H87GF",
    "params": {
        "customerId": "098765432109876",
        "page": "1"
    },
    "screen": {
        "width": "1125",
        "height": "2436"
    },
    "platform": "iphone",
    "dpi": "489",
    "versionOs": "11.2.1",
    "memory": "2816",
    "version": "2.1.1",
    "cpu": {},
    "deviceModel": "iPhone10,6"
}
DEBUG 2018-07-25 14:29:32,172 main.MobileApplication(getJSONFromHttpBody:1045) - ############# END HTTP REQUEST BODY

仍然感谢^^

0 个答案:

没有答案