From 5068d34c08f951a7ea6257d305a1627b09a95817 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:44:55 +0200 Subject: Adding upstream version 0.11.1. Signed-off-by: Daniel Baumann --- src/formats/tcf_log.json | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/formats/tcf_log.json (limited to 'src/formats/tcf_log.json') diff --git a/src/formats/tcf_log.json b/src/formats/tcf_log.json new file mode 100644 index 0000000..ad42d78 --- /dev/null +++ b/src/formats/tcf_log.json @@ -0,0 +1,51 @@ +{ + "$schema": "https://lnav.org/schemas/format-v1.schema.json", + "tcf_log": { + "title": "TCF Log", + "description": "Target Communication Framework log", + "url": [ + "http://wiki.eclipse.org/TCF", + "http://git.eclipse.org/c/tcf/org.eclipse.tcf.git/tree/target_explorer/plugins/org.eclipse.tm.te.tcf.log.core/src/org/eclipse/tm/te/tcf/log/core/internal/listener/ChannelTraceListener.java?id=b6e81bb8405f99dda2764b22cff876fa00f734f5#n144" + ], + "regex": { + "std": { + "pattern": "^TCF (?\\d{2}:\\d{2}.\\d{3}): (?:Server-Properties: (?:.*)|channel server|\\w+: (?--->|<---) (?\\w)(?: (?\\w+))?(?: (?\\w+))?(?: (?\\w+))?(?: (?.*))?(?: ))(?.*)$" + } + }, + "value": { + "dir": { + "kind": "string" + }, + "type": { + "kind": "string", + "identifier": true + }, + "token": { + "kind": "string", + "identifier": true + }, + "service": { + "kind": "string", + "identifier": true + }, + "name": { + "kind": "string", + "identifier": true + }, + "msg": { + "kind": "json" + } + }, + "sample": [ + { + "line": "TCF 29:47.191: Server-Properties: {\"Name\":\"TCF Protocol Logger\",\"OSName\":\"Linux 3.2.0-60-generic\",\"UserName\":\"xavier\",\"AgentID\":\"1fde3dd1-d4be-4f79-8090-6f8d212f03bf\",\"TransportName\":\"TCP\",\"Proxy\":\"\",\"ValueAdd\":\"1\",\"Port\":\"1534\"}" + }, + { + "line": "TCF 30:11.475: 0: <--- R 2 [\"P1\"] " + }, + { + "line": "TCF 30:11.475: 0: ---> C 4 RunControl getChildren \"P1\" " + } + ] + } +} \ No newline at end of file -- cgit v1.2.3