summaryrefslogtreecommitdiffstats
path: root/src/formats/xmlrpc_log.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/formats/xmlrpc_log.json')
-rw-r--r--src/formats/xmlrpc_log.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/formats/xmlrpc_log.json b/src/formats/xmlrpc_log.json
new file mode 100644
index 0000000..31638b3
--- /dev/null
+++ b/src/formats/xmlrpc_log.json
@@ -0,0 +1,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',)"
+ }
+ ]
+ }
+} \ No newline at end of file