lnav/src/formats/xmlrpc_log.json

43 lines
1.5 KiB
JSON

{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"xmlrpc_log": {
"title": "RHN server XMLRPC log format",
"description": "Generated by Satellite's XMLRPC component",
"url": "https://access.redhat.com/products/red-hat-satellite",
"regex": {
"main": {
"pattern": "^(?<timestamp>\\d{4}/\\d{2}/\\d{2} \\d{2}:\\d{2}:\\d{2} [+-]?\\d{2}:\\d{2}) (?<pid>\\d+) (?<client_ip>\\S+): (?<module>\\w+)/(?<function>.*)(?<arguments>\\(.*?\\))?(?<body>.*)$"
}
},
"value": {
"pid": {
"kind": "integer",
"identifier": true
},
"client_ip": {
"kind": "string",
"identifier": true
},
"module": {
"kind": "string"
},
"function": {
"kind": "string"
}
},
"sample": [
{
"line": "2015/05/24 07:48:21 -05:00 767 10.206.22.17: xmlrpc/up2date.listChannels(1000011979,)"
},
{
"line": "2015/05/24 07:48:22 -05:00 1377 10.184.37.105: xmlrpc/registration.welcome_message('lang: None',)"
},
{
"line": "2015/05/24 07:48:22 -05:00 759 10.49.10.30: xmlrpc/registration.register_osad"
},
{
"line": "2015/05/24 07:48:22 -05:00 759 10.49.10.30: rhnServer/server_certificate.valid('Server id ID-1000019942 not found in database',)"
}
]
}
}