summaryrefslogtreecommitdiffstats
path: root/src/formats/xmlrpc_log.json
blob: 31638b39a1ed09a3f308ed3cc6d644ddbc4cbace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "$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',)"
            }
        ]
    }
}