diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 04:48:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 04:48:35 +0000 |
commit | 207df6fc406e81bfeebdff7f404bd242ff3f099f (patch) | |
tree | a1a796b056909dd0a04ffec163db9363a8757808 /test/log-samples | |
parent | Releasing progress-linux version 0.11.2-1~progress7.99u1. (diff) | |
download | lnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.tar.xz lnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.zip |
Merging upstream version 0.12.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
27 files changed, 801 insertions, 148 deletions
diff --git a/test/log-samples/sample-057d6c669632ef9d07b6adec605f6bdeae19af27.txt b/test/log-samples/sample-057d6c669632ef9d07b6adec605f6bdeae19af27.txt index c1d9b88..cee08b0 100644 --- a/test/log-samples/sample-057d6c669632ef9d07b6adec605f6bdeae19af27.txt +++ b/test/log-samples/sample-057d6c669632ef9d07b6adec605f6bdeae19af27.txt @@ -1,13 +1,11 @@ 2013-02-11 06:42:34,310:INFO:com.twisted:Site starting on 8099 - key 29:29 ^ - key 29:40 ^---------^ com.twisted -pair 29:40 ^---------^ com.twisted - key 58:58 ^ +word 55:57 ^^ on + key 55:57 ^^ on num 58:62 ^--^ 8099 -pair 58:62 ^--^ 8099 + val 58:62 ^--^ 8099 +pair 55:62 ^-----^ on 8099 msg ::com.twisted:Site starting on 8099 -format ::#:Site starting on # +format ::com.twisted:Site starting on # { - "col_0": "com.twisted", - "col_1": 8099 + "on": 8099 } diff --git a/test/log-samples/sample-06aaa6f48a801f592558575d886864d6c3ab9ed4.txt b/test/log-samples/sample-06aaa6f48a801f592558575d886864d6c3ab9ed4.txt index aafb46d..4489627 100644 --- a/test/log-samples/sample-06aaa6f48a801f592558575d886864d6c3ab9ed4.txt +++ b/test/log-samples/sample-06aaa6f48a801f592558575d886864d6c3ab9ed4.txt @@ -1,40 +1,40 @@ - Apr 11 16:43:25 localhost smartd[2532]: Device: /dev/sda [SAT], VBOX HARDDISK, S/N:VBc8882b62-a0263a39, FW:1.0, 17.1 GB - key 40:46 ^----^ Device -path 48:56 ^------^ /dev/sda -wspc 56:57 ^ - sym 58:61 ^-^ SAT - val 58:61 ^-^ SAT - grp 58:61 ^-^ SAT - val 48:61 ^-----------^ /dev/sda [SAT -pair 40:61 ^-------------------^ Device: /dev/sda [SAT - key 64:64 ^ - sym 64:68 ^--^ VBOX -wspc 68:69 ^ - sym 69:77 ^------^ HARDDISK - val 64:77 ^-----------^ VBOX HARDDISK -pair 64:77 ^-----------^ VBOX HARDDISK - key 79:79 ^ - sym 79:82 ^-^ S/N -coln 82:83 ^ : - sym 83:102 ^-----------------^ VBc8882b62-a0263a39 - val 79:102 ^---------------------^ S/N:VBc8882b62-a0263a39 -pair 79:102 ^---------------------^ S/N:VBc8882b62-a0263a39 - key 104:106 ^^ FW - num 107:110 ^-^ 1.0 - val 107:110 ^-^ 1.0 -pair 104:110 ^----^ FW:1.0 - key 112:112 ^ - num 112:116 ^--^ 17.1 -wspc 116:117 ^ - sym 117:119 ^^ GB - val 112:119 ^-----^ 17.1 GB -pair 112:119 ^-----^ 17.1 GB -msg :Device: /dev/sda [SAT], VBOX HARDDISK, S/N:VBc8882b62-a0263a39, FW:1.0, 17.1 GB -format :Device: #], #, #, FW:#, # + Apr 11 16:43:25 localhost smartd[2532]: Device: /dev/sda [SAT], VBOX HARDDISK, S/N:VBc8882b62-a0263a39, FW:1.0, 17.1 GB + key 48:48 ^ +path 48:56 ^------^ /dev/sda + val 48:56 ^------^ /dev/sda +pair 48:56 ^------^ /dev/sda + key 58:58 ^ + sym 58:61 ^-^ SAT + val 58:61 ^-^ SAT + grp 58:61 ^-^ SAT + val 58:61 ^-^ SAT +pair 58:61 ^-^ SAT + key 64:68 ^--^ VBOX + sym 69:77 ^------^ HARDDISK + val 69:77 ^------^ HARDDISK +pair 64:77 ^-----------^ VBOX HARDDISK + key 79:82 ^-^ S/N + id 83:102 ^-----------------^ VBc8882b62-a0263a39 + val 83:102 ^-----------------^ VBc8882b62-a0263a39 +pair 79:102 ^---------------------^ S/N:VBc8882b62-a0263a39 + key 104:106 ^^ FW + num 107:110 ^-^ 1.0 + val 107:110 ^-^ 1.0 +pair 104:110 ^----^ FW:1.0 + key 112:112 ^ + num 112:116 ^--^ 17.1 + sym 117:119 ^^ GB + val 112:119 ^-----^ 17.1 GB +pair 112:119 ^-----^ 17.1 GB +msg :Device: /dev/sda [SAT], VBOX HARDDISK, S/N:VBc8882b62-a0263a39, FW:1.0, 17.1 GB +format :Device: # [#], VBOX #, S/N:#, FW:#, # { - "Device": "/dev/sda [SAT", - "col_0": "VBOX HARDDISK", - "col_1": "S/N:VBc8882b62-a0263a39", + "col_0": "/dev/sda", + "col_1": [ + "SAT" + ], + "VBOX": "HARDDISK", + "S/N": "VBc8882b62-a0263a39", "FW": 1.0, "col_2": "17.1 GB" } diff --git a/test/log-samples/sample-0a470b1dae069dda03984e8e67994d8a.txt b/test/log-samples/sample-0a470b1dae069dda03984e8e67994d8a.txt new file mode 100644 index 0000000..47859da --- /dev/null +++ b/test/log-samples/sample-0a470b1dae069dda03984e8e67994d8a.txt @@ -0,0 +1,26 @@ + 2024-01-10T05:27:07.860Z info vmware-vum-server[27909] [Originator@6876 sub=JobDispatcher] [JobDispatcher 2258] Removing task 52b9d918-efe7-29a6-6d38-6eee37e76f87 that imposed VMware vSphere Update Manager load:1, new load: 0, task active Load: 0 +word 122:126 ^--^ task + key 122:126 ^--^ task +uuid 127:163 ^----------------------------------^ 52b9d918-efe7-29a6-6d38-6eee37e76f87 + val 127:163 ^----------------------------------^ 52b9d918-efe7-29a6-6d38-6eee37e76f87 +pair 122:163 ^---------------------------------------^ task 52b9d918-efe7-29a6-6d38-6eee37e76f87 + key 207:211 ^--^ load + num 212:213 ^ 1 + val 212:213 ^ 1 +pair 207:213 ^----^ load:1 + key 215:223 ^------^ new load + num 225:226 ^ 0 + val 225:226 ^ 0 +pair 215:226 ^---------^ new load: 0 + key 228:244 ^--------------^ task active Load + num 246:247 ^ 0 + val 246:247 ^ 0 +pair 228:247 ^-----------------^ task active Load: 0 +msg :Removing task 52b9d918-efe7-29a6-6d38-6eee37e76f87 that imposed VMware vSphere Update Manager load:1, new load: 0, task active Load: 0 +format :Removing task # that imposed VMware vSphere Update Manager load:#, new load: #, task active Load: # +{ + "task": "52b9d918-efe7-29a6-6d38-6eee37e76f87", + "load": 1, + "new load": 0, + "task active Load": 0 +} diff --git a/test/log-samples/sample-0edd747bbc6d5c173423c079b61c27a4.txt b/test/log-samples/sample-0edd747bbc6d5c173423c079b61c27a4.txt new file mode 100644 index 0000000..f5efd2a --- /dev/null +++ b/test/log-samples/sample-0edd747bbc6d5c173423c079b61c27a4.txt @@ -0,0 +1,13 @@ + 2024-01-10T14:29:28.998Z info vmware-vum-server[136895] [Originator@6876 sub=VumVapiAuthzFilter opID=4d3bd186-a9bf-40d3-9b88-5570f530048f] [RequireAdminUserAuthz 362] RequireAdminUserAuthz::Invoke Method is com.vmware.esx.settings.clusters.configuration.drafts.apply + key 167:167 ^ + sym 167:196 ^---------------------------^ RequireAdminUserAuthz::Invoke +pair 167:196 ^---------------------------^ RequireAdminUserAuthz::Invoke + key 207:207 ^ + sym 207:266 ^---------------------------------------------------------^ com.vmware.esx.settings.clusters.configuration.drafts.apply +pair 207:266 ^---------------------------------------------------------^ com.vmware.esx.settings.clusters.configuration.drafts.apply +msg :RequireAdminUserAuthz::Invoke Method is com.vmware.esx.settings.clusters.configuration.drafts.apply +format :# Method is # +{ + "col_0": "RequireAdminUserAuthz::Invoke", + "col_1": "com.vmware.esx.settings.clusters.configuration.drafts.apply" +} diff --git a/test/log-samples/sample-1aeb47c0a97d19bb7418f0172480e05e49c6e53e.txt b/test/log-samples/sample-1aeb47c0a97d19bb7418f0172480e05e49c6e53e.txt index 289780a..3f52819 100644 --- a/test/log-samples/sample-1aeb47c0a97d19bb7418f0172480e05e49c6e53e.txt +++ b/test/log-samples/sample-1aeb47c0a97d19bb7418f0172480e05e49c6e53e.txt @@ -1,17 +1,19 @@ Apr 29 22:32:27 tstack-centos5 dhclient: bound to 10.1.10.62 -- renewal in 55327 seconds - key 50:50 ^ +word 47:49 ^^ to + key 47:49 ^^ to ipv4 50:60 ^--------^ 10.1.10.62 -pair 50:60 ^--------^ 10.1.10.62 - key 61:61 ^ - sym 61:63 ^^ -- -pair 61:63 ^^ -- - key 75:75 ^ + val 50:60 ^--------^ 10.1.10.62 +pair 47:60 ^-----------^ to 10.1.10.62 + key 64:64 ^ +word 64:71 ^-----^ renewal +word 72:74 ^^ in num 75:80 ^---^ 55327 -pair 75:80 ^---^ 55327 +word 81:88 ^-----^ seconds + val 64:88 ^----------------------^ renewal in 55327 seconds +pair 64:88 ^----------------------^ renewal in 55327 seconds msg :bound to 10.1.10.62 -- renewal in 55327 seconds -format :bound to # # renewal in # seconds +format :bound to # -- # { - "col_0": "10.1.10.62", - "col_1": "--", - "col_2": 55327 + "to": "10.1.10.62", + "col_0": "renewal in 55327 seconds" } diff --git a/test/log-samples/sample-207655c886794bc55da226bcb86e3c91.txt b/test/log-samples/sample-207655c886794bc55da226bcb86e3c91.txt new file mode 100644 index 0000000..26e5bbe --- /dev/null +++ b/test/log-samples/sample-207655c886794bc55da226bcb86e3c91.txt @@ -0,0 +1,33 @@ + Mar 16 08:09:58 app-1 kernel: [ 0.000000] BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) + key 35:35 ^ + num 35:43 ^------^ 0.000000 + val 35:43 ^------^ 0.000000 + grp 35:43 ^------^ 0.000000 + val 35:43 ^------^ 0.000000 +pair 35:43 ^------^ 0.000000 + key 46:55 ^-------^ BIOS-e820 + hex 57:73 ^--------------^ 00000000000e8000 + val 57:73 ^--------------^ 00000000000e8000 +pair 46:73 ^-------------------------^ BIOS-e820: 00000000000e8000 + key 76:76 ^ +hexd 76:92 ^--------------^ 0000000000100000 + val 76:92 ^--------------^ 0000000000100000 +pair 76:92 ^--------------^ 0000000000100000 + key 94:94 ^ +word 94:102 ^------^ reserved + val 94:102 ^------^ reserved + grp 94:102 ^------^ reserved + val 94:102 ^------^ reserved +pair 94:102 ^------^ reserved +msg :[ 0.000000] BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) +format :[ #] BIOS-e820: # - # (#) +{ + "col_0": [ + 0.000000 + ], + "BIOS-e820": "00000000000e8000", + "col_1": "0000000000100000", + "col_2": [ + "reserved" + ] +} diff --git a/test/log-samples/sample-27353a72ba4025448f261dcfa6ea16e474187795.txt b/test/log-samples/sample-27353a72ba4025448f261dcfa6ea16e474187795.txt index 3a7277b..84404d1 100644 --- a/test/log-samples/sample-27353a72ba4025448f261dcfa6ea16e474187795.txt +++ b/test/log-samples/sample-27353a72ba4025448f261dcfa6ea16e474187795.txt @@ -1,4 +1,30 @@ Jun 3 07:00:23 Tim-Stacks-iMac.local sudo[2326]: stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/bin/ls -msg : -format : -null + key 53:53 ^ +word 53:58 ^---^ stack + val 53:58 ^---^ stack +pair 53:58 ^---^ stack + key 61:64 ^-^ TTY + sym 65:72 ^-----^ ttys002 + val 65:72 ^-----^ ttys002 +pair 61:72 ^---------^ TTY=ttys002 + key 75:78 ^-^ PWD +path 79:80 ^ / + val 79:80 ^ / +pair 75:80 ^---^ PWD=/ + key 83:87 ^--^ USER +word 88:92 ^--^ root + val 88:92 ^--^ root +pair 83:92 ^-------^ USER=root + key 95:102 ^-----^ COMMAND +path 103:110 ^-----^ /bin/ls + val 103:110 ^-----^ /bin/ls +pair 95:110 ^-------------^ COMMAND=/bin/ls +msg :stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/bin/ls +format :# : TTY=# ; PWD=# ; USER=# ; COMMAND=# +{ + "col_0": "stack", + "TTY": "ttys002", + "PWD": "/", + "USER": "root", + "COMMAND": "/bin/ls" +} diff --git a/test/log-samples/sample-3136b918134d37827ee97f35adb130a5.txt b/test/log-samples/sample-3136b918134d37827ee97f35adb130a5.txt new file mode 100644 index 0000000..6712649 --- /dev/null +++ b/test/log-samples/sample-3136b918134d37827ee97f35adb130a5.txt @@ -0,0 +1,43 @@ + 2024-01-11T10:46:05.874Z info vmware-vum-server[1243065] [Originator@6876 sub=EHP opID=eb9d737f-fa4f-421d-9beb-ce31fb27938f] [host-553] [vSphere HA] [com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state] returned status: OK + key 126:126 ^ + id 126:134 ^------^ host-553 + val 126:134 ^------^ host-553 + grp 126:134 ^------^ host-553 + val 126:134 ^------^ host-553 +pair 126:134 ^------^ host-553 + key 137:137 ^ + sym 137:144 ^-----^ vSphere + sym 145:147 ^^ HA + val 137:147 ^--------^ vSphere HA + grp 137:147 ^--------^ vSphere HA + val 137:147 ^--------^ vSphere HA +pair 137:147 ^--------^ vSphere HA + key 150:150 ^ + sym 150:206 ^------------------------------------------------------^ com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state + val 150:206 ^------------------------------------------------------^ com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state + grp 150:206 ^------------------------------------------------------^ com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state + val 150:206 ^------------------------------------------------------^ com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state +pair 150:206 ^------------------------------------------------------^ com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state + key 208:208 ^ +word 208:216 ^------^ returned + val 208:216 ^------^ returned +pair 208:216 ^------^ returned + key 217:223 ^----^ status + sym 225:227 ^^ OK + val 225:227 ^^ OK +pair 217:227 ^--------^ status: OK +msg :[host-553] [vSphere HA] [com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state] returned status: OK +format :[#] [#] [#] # status: # +{ + "col_0": [ + "host-553" + ], + "col_1": [ + "vSphere HA" + ], + "col_2": [ + "com.vmware.vcIntegrity.lifecycle.health.vc.host_ha_state" + ], + "col_3": "returned", + "status": "OK" +} diff --git a/test/log-samples/sample-5cbaeeb96f1f0c11a93656107801efc3.txt b/test/log-samples/sample-5cbaeeb96f1f0c11a93656107801efc3.txt new file mode 100644 index 0000000..e8002c0 --- /dev/null +++ b/test/log-samples/sample-5cbaeeb96f1f0c11a93656107801efc3.txt @@ -0,0 +1,52 @@ + 2024-01-10T05:26:20.440Z error vmware-vum-server[28046] [Originator@6876 sub=Key] [key 59] [backtrace begin] product: VMware Update Manager, version: 8.0.3, build: build-22994205, tag: vmware-vum-server, cpu: x86_64, os: linux, buildType: release + key 92:92 ^ +word 92:101 ^-------^ backtrace +word 102:107 ^---^ begin + val 92:107 ^-------------^ backtrace begin + grp 92:107 ^-------------^ backtrace begin + val 92:107 ^-------------^ backtrace begin +pair 92:107 ^-------------^ backtrace begin + key 109:116 ^-----^ product + sym 118:124 ^----^ VMware +word 125:131 ^----^ Update +word 132:139 ^-----^ Manager + val 118:139 ^-------------------^ VMware Update Manager +pair 109:139 ^----------------------------^ product: VMware Update Manager + key 141:148 ^-----^ version +vers 150:155 ^---^ 8.0.3 + val 150:155 ^---^ 8.0.3 +pair 141:155 ^------------^ version: 8.0.3 + key 157:162 ^---^ build + id 164:178 ^------------^ build-22994205 + val 164:178 ^------------^ build-22994205 +pair 157:178 ^-------------------^ build: build-22994205 + key 180:183 ^-^ tag + id 185:202 ^---------------^ vmware-vum-server + val 185:202 ^---------------^ vmware-vum-server +pair 180:202 ^--------------------^ tag: vmware-vum-server + key 204:207 ^-^ cpu + sym 209:215 ^----^ x86_64 + val 209:215 ^----^ x86_64 +pair 204:215 ^---------^ cpu: x86_64 + key 217:219 ^^ os +word 221:226 ^---^ linux + val 221:226 ^---^ linux +pair 217:226 ^-------^ os: linux + key 228:237 ^-------^ buildType +word 239:246 ^-----^ release + val 239:246 ^-----^ release +pair 228:246 ^----------------^ buildType: release +msg :[backtrace begin] product: VMware Update Manager, version: 8.0.3, build: build-22994205, tag: vmware-vum-server, cpu: x86_64, os: linux, buildType: release +format :[#] product: #, version: #, build: #, tag: #, cpu: #, os: #, buildType: # +{ + "col_0": [ + "backtrace begin" + ], + "product": "VMware Update Manager", + "version": "8.0.3", + "build": "build-22994205", + "tag": "vmware-vum-server", + "cpu": "x86_64", + "os": "linux", + "buildType": "release" +} diff --git a/test/log-samples/sample-63068cd0931f8cbd22c2f15ac318af12.txt b/test/log-samples/sample-63068cd0931f8cbd22c2f15ac318af12.txt new file mode 100644 index 0000000..8715526 --- /dev/null +++ b/test/log-samples/sample-63068cd0931f8cbd22c2f15ac318af12.txt @@ -0,0 +1,135 @@ + 2021-09-25T11:22:08.034Z info vsand[1000946202] [opID=SWI-5e21ef1d-ddc1-f459 VsanPyVmomiProfiler::logProfile] VIS.GetFileShareObjects: 0.01s, consumed: 97564KB (+0KB), consumedPeak: 98644KB (+0KB), effectiveMin: 117872KB (+0KB), effectiveMinPeak: 121336KB (+0KB), requestedMinPeak: 121336KB (+0KB) + key 112:135 ^---------------------^ VIS.GetFileShareObjects + num 137:141 ^--^ 0.01 +unit 141:142 ^ s +meas 137:142 ^---^ 0.01s + val 137:142 ^---^ 0.01s +pair 112:142 ^----------------------------^ VIS.GetFileShareObjects: 0.01s + key 144:152 ^------^ consumed + num 154:159 ^---^ 97564 +unit 159:161 ^^ KB +meas 154:161 ^-----^ 97564KB + val 154:161 ^-----^ 97564KB +pair 144:161 ^---------------^ consumed: 97564KB + key 164:164 ^ + num 164:165 ^ 0 +unit 165:167 ^^ KB +meas 164:167 ^-^ 0KB + val 164:167 ^-^ 0KB + grp 164:167 ^-^ 0KB + val 164:167 ^-^ 0KB +pair 164:167 ^-^ 0KB + key 170:182 ^----------^ consumedPeak + num 184:189 ^---^ 98644 +unit 189:191 ^^ KB +meas 184:191 ^-----^ 98644KB + val 184:191 ^-----^ 98644KB +pair 170:191 ^-------------------^ consumedPeak: 98644KB + key 194:194 ^ + num 194:195 ^ 0 +unit 195:197 ^^ KB +meas 194:197 ^-^ 0KB + val 194:197 ^-^ 0KB + grp 194:197 ^-^ 0KB + val 194:197 ^-^ 0KB +pair 194:197 ^-^ 0KB + key 200:212 ^----------^ effectiveMin + num 214:220 ^----^ 117872 +unit 220:222 ^^ KB +meas 214:222 ^------^ 117872KB + val 214:222 ^------^ 117872KB +pair 200:222 ^--------------------^ effectiveMin: 117872KB + key 225:225 ^ + num 225:226 ^ 0 +unit 226:228 ^^ KB +meas 225:228 ^-^ 0KB + val 225:228 ^-^ 0KB + grp 225:228 ^-^ 0KB + val 225:228 ^-^ 0KB +pair 225:228 ^-^ 0KB + key 231:247 ^--------------^ effectiveMinPeak + num 249:255 ^----^ 121336 +unit 255:257 ^^ KB +meas 249:257 ^------^ 121336KB + val 249:257 ^------^ 121336KB +pair 231:257 ^------------------------^ effectiveMinPeak: 121336KB + key 260:260 ^ + num 260:261 ^ 0 +unit 261:263 ^^ KB +meas 260:263 ^-^ 0KB + val 260:263 ^-^ 0KB + grp 260:263 ^-^ 0KB + val 260:263 ^-^ 0KB +pair 260:263 ^-^ 0KB + key 266:282 ^--------------^ requestedMinPeak + num 284:290 ^----^ 121336 +unit 290:292 ^^ KB +meas 284:292 ^------^ 121336KB + val 284:292 ^------^ 121336KB +pair 266:292 ^------------------------^ requestedMinPeak: 121336KB + key 295:295 ^ + num 295:296 ^ 0 +unit 296:298 ^^ KB +meas 295:298 ^-^ 0KB + val 295:298 ^-^ 0KB + grp 295:298 ^-^ 0KB + val 295:298 ^-^ 0KB +pair 295:298 ^-^ 0KB +msg :VIS.GetFileShareObjects: 0.01s, consumed: 97564KB (+0KB), consumedPeak: 98644KB (+0KB), effectiveMin: 117872KB (+0KB), effectiveMinPeak: 121336KB (+0KB), requestedMinPeak: 121336KB (+0KB) +format :VIS.GetFileShareObjects: #, consumed: # (+#), consumedPeak: # (+#), effectiveMin: # (+#), effectiveMinPeak: # (+#), requestedMinPeak: # (+#) +{ + "VIS.GetFileShareObjects": [ + 0.01, + "s" + ], + "consumed": [ + 97564, + "KB" + ], + "col_0": [ + [ + 0, + "KB" + ] + ], + "consumedPeak": [ + 98644, + "KB" + ], + "col_1": [ + [ + 0, + "KB" + ] + ], + "effectiveMin": [ + 117872, + "KB" + ], + "col_2": [ + [ + 0, + "KB" + ] + ], + "effectiveMinPeak": [ + 121336, + "KB" + ], + "col_3": [ + [ + 0, + "KB" + ] + ], + "requestedMinPeak": [ + 121336, + "KB" + ], + "col_4": [ + [ + 0, + "KB" + ] + ] +} diff --git a/test/log-samples/sample-67484ecc8091237a27f12863d36b4d03.txt b/test/log-samples/sample-67484ecc8091237a27f12863d36b4d03.txt new file mode 100644 index 0000000..5f7cf36 --- /dev/null +++ b/test/log-samples/sample-67484ecc8091237a27f12863d36b4d03.txt @@ -0,0 +1,26 @@ + 2024-01-10T05:27:07.452Z info vmware-vum-server[28092] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask] [Task, 524] Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask ID:52b9d918-efe7-29a6-6d38-6eee37e76f87. Combining scan results for 32 hosts + key 145:149 ^--^ Task + sym 150:205 ^-----------------------------------------------------^ com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask + val 150:205 ^-----------------------------------------------------^ com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask +pair 145:205 ^----------------------------------------------------------^ Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask + key 206:208 ^^ ID +uuid 209:245 ^----------------------------------^ 52b9d918-efe7-29a6-6d38-6eee37e76f87 + val 209:245 ^----------------------------------^ 52b9d918-efe7-29a6-6d38-6eee37e76f87 +pair 206:245 ^-------------------------------------^ ID:52b9d918-efe7-29a6-6d38-6eee37e76f87 +word 270:273 ^-^ for + key 270:273 ^-^ for + num 274:276 ^^ 32 + val 274:276 ^^ 32 +pair 270:276 ^----^ for 32 + key 277:277 ^ +word 277:282 ^---^ hosts + val 277:282 ^---^ hosts +pair 277:282 ^---^ hosts +msg :Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask ID:52b9d918-efe7-29a6-6d38-6eee37e76f87. Combining scan results for 32 hosts +format :Task:# ID:#. Combining scan results for # # +{ + "Task": "com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask", + "ID": "52b9d918-efe7-29a6-6d38-6eee37e76f87", + "for": 32, + "col_0": "hosts" +} diff --git a/test/log-samples/sample-70c906b3c1a1cf03f15bde92ee78edfa6f9b7960.txt b/test/log-samples/sample-70c906b3c1a1cf03f15bde92ee78edfa6f9b7960.txt index 9d80bf9..34ff50f 100644 --- a/test/log-samples/sample-70c906b3c1a1cf03f15bde92ee78edfa6f9b7960.txt +++ b/test/log-samples/sample-70c906b3c1a1cf03f15bde92ee78edfa6f9b7960.txt @@ -1,4 +1,33 @@ Jun 3 07:02:37 Tim-Stacks-iMac.local sudo[2717]: stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/env VAR1=foo ls -msg : -format : -null + key 53:53 ^ +word 53:58 ^---^ stack + val 53:58 ^---^ stack +pair 53:58 ^---^ stack + key 61:64 ^-^ TTY + sym 65:72 ^-----^ ttys002 + val 65:72 ^-----^ ttys002 +pair 61:72 ^---------^ TTY=ttys002 + key 75:78 ^-^ PWD +path 79:80 ^ / + val 79:80 ^ / +pair 75:80 ^---^ PWD=/ + key 83:87 ^--^ USER +word 88:92 ^--^ root + val 88:92 ^--^ root +pair 83:92 ^-------^ USER=root + key 95:102 ^-----^ COMMAND +path 103:115 ^----------^ /usr/bin/env + sym 116:120 ^--^ VAR1 +word 121:124 ^-^ foo +word 125:127 ^^ ls + val 103:127 ^----------------------^ /usr/bin/env VAR1=foo ls +pair 95:127 ^------------------------------^ COMMAND=/usr/bin/env VAR1=foo ls +msg :stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/env VAR1=foo ls +format :# : TTY=# ; PWD=# ; USER=# ; COMMAND=# +{ + "col_0": "stack", + "TTY": "ttys002", + "PWD": "/", + "USER": "root", + "COMMAND": "/usr/bin/env VAR1=foo ls" +} diff --git a/test/log-samples/sample-8a6527cdf27015a0204702430b6eca09.txt b/test/log-samples/sample-8a6527cdf27015a0204702430b6eca09.txt new file mode 100644 index 0000000..8f6bb65 --- /dev/null +++ b/test/log-samples/sample-8a6527cdf27015a0204702430b6eca09.txt @@ -0,0 +1,135 @@ + 2021-09-22T05:54:16.060Z info vsand[1000946217] [opID=Thread-2 VsanPyVmomiProfiler::logProfile] get-disk-data: 0.00s, consumed: 97792KB (+0KB), consumedPeak: 98644KB (+0KB), effectiveMin: 118228KB (+0KB), effectiveMinPeak: 121336KB (+0KB), requestedMinPeak: 121336KB (+0KB) + key 98:111 ^-----------^ get-disk-data + num 113:117 ^--^ 0.00 +unit 117:118 ^ s +meas 113:118 ^---^ 0.00s + val 113:118 ^---^ 0.00s +pair 98:118 ^------------------^ get-disk-data: 0.00s + key 120:128 ^------^ consumed + num 130:135 ^---^ 97792 +unit 135:137 ^^ KB +meas 130:137 ^-----^ 97792KB + val 130:137 ^-----^ 97792KB +pair 120:137 ^---------------^ consumed: 97792KB + key 140:140 ^ + num 140:141 ^ 0 +unit 141:143 ^^ KB +meas 140:143 ^-^ 0KB + val 140:143 ^-^ 0KB + grp 140:143 ^-^ 0KB + val 140:143 ^-^ 0KB +pair 140:143 ^-^ 0KB + key 146:158 ^----------^ consumedPeak + num 160:165 ^---^ 98644 +unit 165:167 ^^ KB +meas 160:167 ^-----^ 98644KB + val 160:167 ^-----^ 98644KB +pair 146:167 ^-------------------^ consumedPeak: 98644KB + key 170:170 ^ + num 170:171 ^ 0 +unit 171:173 ^^ KB +meas 170:173 ^-^ 0KB + val 170:173 ^-^ 0KB + grp 170:173 ^-^ 0KB + val 170:173 ^-^ 0KB +pair 170:173 ^-^ 0KB + key 176:188 ^----------^ effectiveMin + num 190:196 ^----^ 118228 +unit 196:198 ^^ KB +meas 190:198 ^------^ 118228KB + val 190:198 ^------^ 118228KB +pair 176:198 ^--------------------^ effectiveMin: 118228KB + key 201:201 ^ + num 201:202 ^ 0 +unit 202:204 ^^ KB +meas 201:204 ^-^ 0KB + val 201:204 ^-^ 0KB + grp 201:204 ^-^ 0KB + val 201:204 ^-^ 0KB +pair 201:204 ^-^ 0KB + key 207:223 ^--------------^ effectiveMinPeak + num 225:231 ^----^ 121336 +unit 231:233 ^^ KB +meas 225:233 ^------^ 121336KB + val 225:233 ^------^ 121336KB +pair 207:233 ^------------------------^ effectiveMinPeak: 121336KB + key 236:236 ^ + num 236:237 ^ 0 +unit 237:239 ^^ KB +meas 236:239 ^-^ 0KB + val 236:239 ^-^ 0KB + grp 236:239 ^-^ 0KB + val 236:239 ^-^ 0KB +pair 236:239 ^-^ 0KB + key 242:258 ^--------------^ requestedMinPeak + num 260:266 ^----^ 121336 +unit 266:268 ^^ KB +meas 260:268 ^------^ 121336KB + val 260:268 ^------^ 121336KB +pair 242:268 ^------------------------^ requestedMinPeak: 121336KB + key 271:271 ^ + num 271:272 ^ 0 +unit 272:274 ^^ KB +meas 271:274 ^-^ 0KB + val 271:274 ^-^ 0KB + grp 271:274 ^-^ 0KB + val 271:274 ^-^ 0KB +pair 271:274 ^-^ 0KB +msg :get-disk-data: 0.00s, consumed: 97792KB (+0KB), consumedPeak: 98644KB (+0KB), effectiveMin: 118228KB (+0KB), effectiveMinPeak: 121336KB (+0KB), requestedMinPeak: 121336KB (+0KB) +format :get-disk-data: #, consumed: # (+#), consumedPeak: # (+#), effectiveMin: # (+#), effectiveMinPeak: # (+#), requestedMinPeak: # (+#) +{ + "get-disk-data": [ + 0.00, + "s" + ], + "consumed": [ + 97792, + "KB" + ], + "col_0": [ + [ + 0, + "KB" + ] + ], + "consumedPeak": [ + 98644, + "KB" + ], + "col_1": [ + [ + 0, + "KB" + ] + ], + "effectiveMin": [ + 118228, + "KB" + ], + "col_2": [ + [ + 0, + "KB" + ] + ], + "effectiveMinPeak": [ + 121336, + "KB" + ], + "col_3": [ + [ + 0, + "KB" + ] + ], + "requestedMinPeak": [ + 121336, + "KB" + ], + "col_4": [ + [ + 0, + "KB" + ] + ] +} diff --git a/test/log-samples/sample-97f2106d5fa94132715730416e86b3de.txt b/test/log-samples/sample-97f2106d5fa94132715730416e86b3de.txt new file mode 100644 index 0000000..027a3eb --- /dev/null +++ b/test/log-samples/sample-97f2106d5fa94132715730416e86b3de.txt @@ -0,0 +1,16 @@ + 2024-01-11T10:46:03.218Z info vmware-vum-server[28274] [Originator@6876 sub=HostLocator opID=eb9d737f-fa4f-421d-9beb-ce31fb27938f] [hostLocator 239] Getting Management IP for host host-556: 10.172.44.70 +word 175:179 ^--^ host + key 175:179 ^--^ host + id 180:188 ^------^ host-556 + val 180:188 ^------^ host-556 +pair 175:188 ^-----------^ host host-556 + key 190:190 ^ +ipv4 190:202 ^----------^ 10.172.44.70 + val 190:202 ^----------^ 10.172.44.70 +pair 190:202 ^----------^ 10.172.44.70 +msg :Getting Management IP for host host-556: 10.172.44.70 +format :Getting Management IP for host #: # +{ + "host": "host-556", + "col_0": "10.172.44.70" +} diff --git a/test/log-samples/sample-aca2878a2e50779c6697c0747ab1f60e4b368dcb.txt b/test/log-samples/sample-aca2878a2e50779c6697c0747ab1f60e4b368dcb.txt index f5c31f2..b69ecf8 100644 --- a/test/log-samples/sample-aca2878a2e50779c6697c0747ab1f60e4b368dcb.txt +++ b/test/log-samples/sample-aca2878a2e50779c6697c0747ab1f60e4b368dcb.txt @@ -3,6 +3,7 @@ path 43:64 ^-------------------^ /sbin/dhclient-script val 43:64 ^-------------------^ /sbin/dhclient-script pair 43:64 ^-------------------^ /sbin/dhclient-script +word 67:74 ^-----^ updated key 67:74 ^-----^ updated path 75:91 ^--------------^ /etc/resolv.conf val 75:91 ^--------------^ /etc/resolv.conf diff --git a/test/log-samples/sample-ad31f12d2adabd07e3ddda3ad5b0dbf6b49c4c99.txt b/test/log-samples/sample-ad31f12d2adabd07e3ddda3ad5b0dbf6b49c4c99.txt index 63c22cc..7307f40 100644 --- a/test/log-samples/sample-ad31f12d2adabd07e3ddda3ad5b0dbf6b49c4c99.txt +++ b/test/log-samples/sample-ad31f12d2adabd07e3ddda3ad5b0dbf6b49c4c99.txt @@ -3,19 +3,14 @@ quot 49:49 ^ val 49:49 ^ pair 43:49 ^----^ vmnet: - key 50:67 ^---------------^ VNetUserIf_Create -word 69:76 ^-----^ created -wspc 76:77 ^ - sym 77:83 ^----^ userIf -wspc 83:84 ^ word 84:86 ^^ at -wspc 86:87 ^ + key 84:86 ^^ at hex 87:105 ^----------------^ 0xffffff802644f400 - val 69:105 ^----------------------------------^ created userIf at 0xffffff802644f400 -pair 50:105 ^-----------------------------------------------------^ VNetUserIf_Create: created userIf at 0xffffff802644f400 + val 87:105 ^----------------^ 0xffffff802644f400 +pair 84:105 ^-------------------^ at 0xffffff802644f400 msg :vmnet: VNetUserIf_Create: created userIf at 0xffffff802644f400 -format :vmnet:# VNetUserIf_Create: # +format :vmnet:# VNetUserIf_Create: created userIf at # { "vmnet": "", - "VNetUserIf_Create": "created userIf at 0xffffff802644f400" + "at": "0xffffff802644f400" } diff --git a/test/log-samples/sample-bc6f6cf689fa5455616b4d9fbe121a48d3c9de59.txt b/test/log-samples/sample-bc6f6cf689fa5455616b4d9fbe121a48d3c9de59.txt index 32d86d0..72cc4e2 100644 --- a/test/log-samples/sample-bc6f6cf689fa5455616b4d9fbe121a48d3c9de59.txt +++ b/test/log-samples/sample-bc6f6cf689fa5455616b4d9fbe121a48d3c9de59.txt @@ -1,23 +1,22 @@ Apr 29 08:13:42 tstack-centos5 dhclient: DHCPNAK from 10.1.10.1 (xid=0x4e17f141) - key 41:41 ^ - sym 41:48 ^-----^ DHCPNAK -pair 41:48 ^-----^ DHCPNAK - key 54:54 ^ +word 49:53 ^--^ from + key 49:53 ^--^ from ipv4 54:63 ^-------^ 10.1.10.1 -pair 54:63 ^-------^ 10.1.10.1 + val 54:63 ^-------^ 10.1.10.1 +pair 49:63 ^------------^ from 10.1.10.1 key 65:65 ^ key 65:68 ^-^ xid hex 69:79 ^--------^ 0x4e17f141 val 69:79 ^--------^ 0x4e17f141 pair 65:79 ^------------^ xid=0x4e17f141 grp 65:79 ^------------^ xid=0x4e17f141 + val 65:79 ^------------^ xid=0x4e17f141 pair 65:79 ^------------^ xid=0x4e17f141 msg :DHCPNAK from 10.1.10.1 (xid=0x4e17f141) -format :# from # (#) +format :DHCPNAK from # (#) { - "col_0": "DHCPNAK", - "col_1": "10.1.10.1", - "col_2": [ + "from": "10.1.10.1", + "col_0": [ { "xid": "0x4e17f141" } diff --git a/test/log-samples/sample-bed6bfb07b2af767547cedbf489c15ce.txt b/test/log-samples/sample-bed6bfb07b2af767547cedbf489c15ce.txt new file mode 100644 index 0000000..595f53b --- /dev/null +++ b/test/log-samples/sample-bed6bfb07b2af767547cedbf489c15ce.txt @@ -0,0 +1,15 @@ + 2024-01-10T05:22:13.258Z info vmware-vum-server[28092] [Originator@6876 sub=ClusterConfigListener] [clusterConfigListener 60] Got UUID for host: host-24 -> 4c4c4544-0052-4310-8057-b3c04f543532 + key 126:143 ^---------------^ Got UUID for host + id 145:152 ^-----^ host-24 + val 145:152 ^-----^ host-24 +pair 126:152 ^------------------------^ Got UUID for host: host-24 + key 156:156 ^ +uuid 156:192 ^----------------------------------^ 4c4c4544-0052-4310-8057-b3c04f543532 + val 156:192 ^----------------------------------^ 4c4c4544-0052-4310-8057-b3c04f543532 +pair 156:192 ^----------------------------------^ 4c4c4544-0052-4310-8057-b3c04f543532 +msg :Got UUID for host: host-24 -> 4c4c4544-0052-4310-8057-b3c04f543532 +format :Got UUID for host: # -> # +{ + "Got UUID for host": "host-24", + "col_0": "4c4c4544-0052-4310-8057-b3c04f543532" +} diff --git a/test/log-samples/sample-c15acd32844669d23d0cbc88ec548129ed2c592e.txt b/test/log-samples/sample-c15acd32844669d23d0cbc88ec548129ed2c592e.txt index a68d490..ae28119 100644 --- a/test/log-samples/sample-c15acd32844669d23d0cbc88ec548129ed2c592e.txt +++ b/test/log-samples/sample-c15acd32844669d23d0cbc88ec548129ed2c592e.txt @@ -1,8 +1,21 @@ Jul 14 14:31:06 linjenkins3 kernel: [31809412.513897] [UFW BLOCK] IN=eth0 OUT= MAC=40:40:2e:9a:ad:92:c4:71:fe:f1:b9:7f:08:00 SRC=69.60.116.202 DST=173.203.237.224 LEN=44 TOS=0x00 PREC=0x00 TTL=29 ID=15852 PROTO=TCP SPT=43998 DPT=3389 WINDOW=3072 RES=0x00 SYN URGP=0 - key 37:68 ^-----------------------------^ 31809412.513897] [UFW BLOCK] IN + key 37:37 ^ + num 37:52 ^-------------^ 31809412.513897 + val 37:52 ^-------------^ 31809412.513897 + grp 37:52 ^-------------^ 31809412.513897 + val 37:52 ^-------------^ 31809412.513897 +pair 37:52 ^-------------^ 31809412.513897 + key 55:55 ^ + sym 55:58 ^-^ UFW + sym 59:64 ^---^ BLOCK + val 55:64 ^-------^ UFW BLOCK + grp 55:64 ^-------^ UFW BLOCK + val 55:64 ^-------^ UFW BLOCK +pair 55:64 ^-------^ UFW BLOCK + key 66:68 ^^ IN sym 69:73 ^--^ eth0 val 69:73 ^--^ eth0 -pair 37:73 ^----------------------------------^ 31809412.513897] [UFW BLOCK] IN=eth0 +pair 66:73 ^-----^ IN=eth0 key 74:77 ^-^ OUT quot 78:78 ^ val 78:78 ^ @@ -57,18 +70,22 @@ pair 225:233 pair 234:245 ^---------^ WINDOW=3072 key 246:249 ^-^ RES hex 250:254 ^--^ 0x00 -wspc 254:255 ^ - sym 255:258 ^-^ SYN - val 250:258 ^------^ 0x00 SYN -pair 246:258 ^----------^ RES=0x00 SYN + val 250:254 ^--^ 0x00 +pair 246:254 ^------^ RES=0x00 key 259:263 ^--^ URGP num 264:265 ^ 0 val 264:265 ^ 0 pair 259:265 ^----^ URGP=0 msg :[31809412.513897] [UFW BLOCK] IN=eth0 OUT= MAC=40:40:2e:9a:ad:92:c4:71:fe:f1:b9:7f:08:00 SRC=69.60.116.202 DST=173.203.237.224 LEN=44 TOS=0x00 PREC=0x00 TTL=29 ID=15852 PROTO=TCP SPT=43998 DPT=3389 WINDOW=3072 RES=0x00 SYN URGP=0 -format :[31809412.513897] [UFW BLOCK] IN=# OUT=# MAC=# SRC=# DST=# LEN=# TOS=# PREC=# TTL=# ID=# PROTO=# SPT=# DPT=# WINDOW=# RES=# URGP=# +format :[#] [#] IN=# OUT=# MAC=# SRC=# DST=# LEN=# TOS=# PREC=# TTL=# ID=# PROTO=# SPT=# DPT=# WINDOW=# RES=# SYN URGP=# { - "31809412.513897] [UFW BLOCK] IN": "eth0", + "col_0": [ + 31809412.513897 + ], + "col_1": [ + "UFW BLOCK" + ], + "IN": "eth0", "OUT": "", "MAC": "40:40:2e:9a:ad:92:c4:71:fe:f1:b9:7f:08:00", "SRC": "69.60.116.202", @@ -82,6 +99,6 @@ format :[31809412.513897] [UFW BLOCK] IN=# OUT=# MAC=# SRC=# DST=# LEN=# TO "SPT": 43998, "DPT": 3389, "WINDOW": 3072, - "RES": "0x00 SYN", + "RES": "0x00", "URGP": 0 } diff --git a/test/log-samples/sample-c23f22c1b932b904203e018f78dead95fb89b15d.txt b/test/log-samples/sample-c23f22c1b932b904203e018f78dead95fb89b15d.txt index 376752b..3d0fe7c 100644 --- a/test/log-samples/sample-c23f22c1b932b904203e018f78dead95fb89b15d.txt +++ b/test/log-samples/sample-c23f22c1b932b904203e018f78dead95fb89b15d.txt @@ -1,35 +1,34 @@ Apr 29 08:13:42 tstack-centos5 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0xd16b79d) - key 41:41 ^ - sym 41:53 ^----------^ DHCPDISCOVER -pair 41:53 ^----------^ DHCPDISCOVER - key 57:57 ^ - sym 57:61 ^--^ eth0 -pair 57:61 ^--^ eth0 - key 65:65 ^ +word 62:64 ^^ to + key 62:64 ^^ to ipv4 65:80 ^-------------^ 255.255.255.255 -pair 65:80 ^-------------^ 255.255.255.255 - key 86:86 ^ + val 65:80 ^-------------^ 255.255.255.255 +pair 62:80 ^----------------^ to 255.255.255.255 +word 81:85 ^--^ port + key 81:85 ^--^ port num 86:88 ^^ 67 -pair 86:88 ^^ 67 - key 98:98 ^ + val 86:88 ^^ 67 +pair 81:88 ^-----^ port 67 +word 89:97 ^------^ interval + key 89:97 ^------^ interval num 98:99 ^ 5 -pair 98:99 ^ 5 + val 98:99 ^ 5 +pair 89:99 ^--------^ interval 5 key 101:101 ^ key 101:104 ^-^ xid hex 105:114 ^-------^ 0xd16b79d val 105:114 ^-------^ 0xd16b79d pair 101:114 ^-----------^ xid=0xd16b79d grp 101:114 ^-----------^ xid=0xd16b79d + val 101:114 ^-----------^ xid=0xd16b79d pair 101:114 ^-----------^ xid=0xd16b79d msg :DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0xd16b79d) -format :# on # to # port # interval # (#) +format :DHCPDISCOVER on eth0 to # port # interval # (#) { - "col_0": "DHCPDISCOVER", - "col_1": "eth0", - "col_2": "255.255.255.255", - "col_3": 67, - "col_4": 5, - "col_5": [ + "to": "255.255.255.255", + "port": 67, + "interval": 5, + "col_0": [ { "xid": "0xd16b79d" } diff --git a/test/log-samples/sample-d0d6b3fc6766caac5ac3fac4a3754ceaab785eb8.txt b/test/log-samples/sample-d0d6b3fc6766caac5ac3fac4a3754ceaab785eb8.txt index b7aad42..7fb8c1d 100644 --- a/test/log-samples/sample-d0d6b3fc6766caac5ac3fac4a3754ceaab785eb8.txt +++ b/test/log-samples/sample-d0d6b3fc6766caac5ac3fac4a3754ceaab785eb8.txt @@ -1,31 +1,28 @@ Apr 29 22:32:26 tstack-centos5 dhclient: DHCPREQUEST on eth0 to 10.1.10.1 port 67 (xid=0xd16b79d) - key 41:41 ^ - sym 41:52 ^---------^ DHCPREQUEST -pair 41:52 ^---------^ DHCPREQUEST - key 56:56 ^ - sym 56:60 ^--^ eth0 -pair 56:60 ^--^ eth0 - key 64:64 ^ +word 61:63 ^^ to + key 61:63 ^^ to ipv4 64:73 ^-------^ 10.1.10.1 -pair 64:73 ^-------^ 10.1.10.1 - key 79:79 ^ + val 64:73 ^-------^ 10.1.10.1 +pair 61:73 ^----------^ to 10.1.10.1 +word 74:78 ^--^ port + key 74:78 ^--^ port num 79:81 ^^ 67 -pair 79:81 ^^ 67 + val 79:81 ^^ 67 +pair 74:81 ^-----^ port 67 key 83:83 ^ key 83:86 ^-^ xid hex 87:96 ^-------^ 0xd16b79d val 87:96 ^-------^ 0xd16b79d pair 83:96 ^-----------^ xid=0xd16b79d grp 83:96 ^-----------^ xid=0xd16b79d + val 83:96 ^-----------^ xid=0xd16b79d pair 83:96 ^-----------^ xid=0xd16b79d msg :DHCPREQUEST on eth0 to 10.1.10.1 port 67 (xid=0xd16b79d) -format :# on # to # port # (#) +format :DHCPREQUEST on eth0 to # port # (#) { - "col_0": "DHCPREQUEST", - "col_1": "eth0", - "col_2": "10.1.10.1", - "col_3": 67, - "col_4": [ + "to": "10.1.10.1", + "port": 67, + "col_0": [ { "xid": "0xd16b79d" } diff --git a/test/log-samples/sample-dd7d406352ec6a11d966b6f015a9482b060f2b29.txt b/test/log-samples/sample-dd7d406352ec6a11d966b6f015a9482b060f2b29.txt index bcf3908..9801802 100644 --- a/test/log-samples/sample-dd7d406352ec6a11d966b6f015a9482b060f2b29.txt +++ b/test/log-samples/sample-dd7d406352ec6a11d966b6f015a9482b060f2b29.txt @@ -1,23 +1,24 @@ 2013-02-11 06:42:34,311:INFO:com.twisted:Starting factory <twisted.web.server.Site instance at 0x1de9290> - key 29:29 ^ key 29:40 ^---------^ com.twisted -pair 29:40 ^---------^ com.twisted - key 59:59 ^ - sym 59:82 ^---------------------^ twisted.web.server.Site -wspc 82:83 ^ -word 83:91 ^------^ instance -wspc 91:92 ^ +word 41:49 ^------^ Starting + val 41:49 ^------^ Starting +pair 29:49 ^------------------^ com.twisted:Starting + key 50:57 ^-----^ factory word 92:94 ^^ at -wspc 94:95 ^ + key 92:94 ^^ at hex 95:104 ^-------^ 0x1de9290 - val 59:104 ^-------------------------------------------^ twisted.web.server.Site instance at 0x1de9290 - grp 59:104 ^-------------------------------------------^ twisted.web.server.Site instance at 0x1de9290 -pair 59:104 ^-------------------------------------------^ twisted.web.server.Site instance at 0x1de9290 + val 95:104 ^-------^ 0x1de9290 +pair 92:104 ^----------^ at 0x1de9290 + grp 92:104 ^----------^ at 0x1de9290 + val 92:104 ^----------^ at 0x1de9290 +pair 50:104 ^----------------------------------------------------^ factory <twisted.web.server.Site instance at 0x1de9290 msg ::com.twisted:Starting factory <twisted.web.server.Site instance at 0x1de9290> -format ::#:Starting factory <#> +format ::com.twisted:# factory <twisted.web.server.Site instance #> { - "col_0": "com.twisted", - "col_1": [ - "twisted.web.server.Site instance at 0x1de9290" + "com.twisted": "Starting", + "factory": [ + { + "at": "0x1de9290" + } ] } diff --git a/test/log-samples/sample-e779d1771e34f5203ae73e85802e78002be63db6.txt b/test/log-samples/sample-e779d1771e34f5203ae73e85802e78002be63db6.txt index d527217..ff58580 100644 --- a/test/log-samples/sample-e779d1771e34f5203ae73e85802e78002be63db6.txt +++ b/test/log-samples/sample-e779d1771e34f5203ae73e85802e78002be63db6.txt @@ -1,23 +1,22 @@ Apr 29 22:32:27 tstack-centos5 dhclient: DHCPACK from 10.1.10.1 (xid=0xd16b79d) - key 41:41 ^ - sym 41:48 ^-----^ DHCPACK -pair 41:48 ^-----^ DHCPACK - key 54:54 ^ +word 49:53 ^--^ from + key 49:53 ^--^ from ipv4 54:63 ^-------^ 10.1.10.1 -pair 54:63 ^-------^ 10.1.10.1 + val 54:63 ^-------^ 10.1.10.1 +pair 49:63 ^------------^ from 10.1.10.1 key 65:65 ^ key 65:68 ^-^ xid hex 69:78 ^-------^ 0xd16b79d val 69:78 ^-------^ 0xd16b79d pair 65:78 ^-----------^ xid=0xd16b79d grp 65:78 ^-----------^ xid=0xd16b79d + val 65:78 ^-----------^ xid=0xd16b79d pair 65:78 ^-----------^ xid=0xd16b79d msg :DHCPACK from 10.1.10.1 (xid=0xd16b79d) -format :# from # (#) +format :DHCPACK from # (#) { - "col_0": "DHCPACK", - "col_1": "10.1.10.1", - "col_2": [ + "from": "10.1.10.1", + "col_0": [ { "xid": "0xd16b79d" } diff --git a/test/log-samples/sample-e8729677c1b443d8f65124db0d5b6f04.txt b/test/log-samples/sample-e8729677c1b443d8f65124db0d5b6f04.txt new file mode 100644 index 0000000..54b30fd --- /dev/null +++ b/test/log-samples/sample-e8729677c1b443d8f65124db0d5b6f04.txt @@ -0,0 +1,22 @@ + 2022-05-17T07:40:38.051Z In(30) init[1001390328]: inittab: /usr/lib/vmware/configmanager/bin/applyconfig --bootstrap (11740460 us) + key 50:57 ^-----^ inittab +path 59:104 ^-------------------------------------------^ /usr/lib/vmware/configmanager/bin/applyconfig + val 59:104 ^-------------------------------------------^ /usr/lib/vmware/configmanager/bin/applyconfig +pair 50:104 ^----------------------------------------------------^ inittab: /usr/lib/vmware/configmanager/bin/applyconfig + key 105:116 ^---------^ --bootstrap + num 118:126 ^------^ 11740460 + val 118:126 ^------^ 11740460 +word 127:129 ^^ us + val 127:129 ^^ us + grp 118:129 ^---------^ 11740460 us + val 118:129 ^---------^ 11740460 us +pair 105:129 ^----------------------^ --bootstrap (11740460 us +msg :inittab: /usr/lib/vmware/configmanager/bin/applyconfig --bootstrap (11740460 us) +format :inittab: # --bootstrap (#) +{ + "inittab": "/usr/lib/vmware/configmanager/bin/applyconfig", + "--bootstrap": [ + 11740460, + "us" + ] +} diff --git a/test/log-samples/sample-eef32793daf841a576d8a5cd27239d5d.txt b/test/log-samples/sample-eef32793daf841a576d8a5cd27239d5d.txt new file mode 100644 index 0000000..cac7219 --- /dev/null +++ b/test/log-samples/sample-eef32793daf841a576d8a5cd27239d5d.txt @@ -0,0 +1,16 @@ + 2022-05-17T08:56:54.107Z In(14) settingsd[1001392457]: debug [ConfigStore:66064b9700] File /usr/lib/vmware/configmanager/apply_modules/advanced_options/plugin.json does not support type:3 +word 86:90 ^--^ File + key 86:90 ^--^ File +path 91:163 ^----------------------------------------------------------------------^ /usr/lib/vmware/configmanager/apply_modules/advanced_options/plugin.json + val 91:163 ^----------------------------------------------------------------------^ /usr/lib/vmware/configmanager/apply_modules/advanced_options/plugin.json +pair 86:163 ^---------------------------------------------------------------------------^ File /usr/lib/vmware/configmanager/apply_modules/advanced_options/plugin.json + key 181:185 ^--^ type + num 186:187 ^ 3 + val 186:187 ^ 3 +pair 181:187 ^----^ type:3 +msg :File /usr/lib/vmware/configmanager/apply_modules/advanced_options/plugin.json does not support type:3 +format :File # does not support type:# +{ + "File": "/usr/lib/vmware/configmanager/apply_modules/advanced_options/plugin.json", + "type": 3 +} diff --git a/test/log-samples/sample-f2fba0d0b1e57f9a707ea96a8a4efcdc.txt b/test/log-samples/sample-f2fba0d0b1e57f9a707ea96a8a4efcdc.txt new file mode 100644 index 0000000..9e35f8f --- /dev/null +++ b/test/log-samples/sample-f2fba0d0b1e57f9a707ea96a8a4efcdc.txt @@ -0,0 +1,31 @@ + Nov 3 09:47:02 veridian sudo: timstack : TTY=pts/6 ; PWD=/auto/wstimstack/rpms/lbuild/test ; USER=root ; COMMAND=/usr/bin/tail /var/log/messages + key 31:31 ^ +word 31:39 ^------^ timstack + val 31:39 ^------^ timstack +pair 31:39 ^------^ timstack + key 42:45 ^-^ TTY + id 46:51 ^---^ pts/6 + val 46:51 ^---^ pts/6 +pair 42:51 ^-------^ TTY=pts/6 + key 54:57 ^-^ PWD +path 58:91 ^-------------------------------^ /auto/wstimstack/rpms/lbuild/test + val 58:91 ^-------------------------------^ /auto/wstimstack/rpms/lbuild/test +pair 54:91 ^-----------------------------------^ PWD=/auto/wstimstack/rpms/lbuild/test + key 94:98 ^--^ USER +word 99:103 ^--^ root + val 99:103 ^--^ root +pair 94:103 ^-------^ USER=root + key 106:113 ^-----^ COMMAND +path 114:127 ^-----------^ /usr/bin/tail +path 128:145 ^---------------^ /var/log/messages + val 114:145 ^-----------------------------^ /usr/bin/tail /var/log/messages +pair 106:145 ^-------------------------------------^ COMMAND=/usr/bin/tail /var/log/messages +msg :timstack : TTY=pts/6 ; PWD=/auto/wstimstack/rpms/lbuild/test ; USER=root ; COMMAND=/usr/bin/tail /var/log/messages +format :# : TTY=# ; PWD=# ; USER=# ; COMMAND=# +{ + "col_0": "timstack", + "TTY": "pts/6", + "PWD": "/auto/wstimstack/rpms/lbuild/test", + "USER": "root", + "COMMAND": "/usr/bin/tail /var/log/messages" +} diff --git a/test/log-samples/sample-f632067ddac054da85b5cade949c6d94.txt b/test/log-samples/sample-f632067ddac054da85b5cade949c6d94.txt new file mode 100644 index 0000000..048aa7a --- /dev/null +++ b/test/log-samples/sample-f632067ddac054da85b5cade949c6d94.txt @@ -0,0 +1,27 @@ + 2021-09-02T03:36:27.389Z warning fdm[1000873987] [Originator@6876 sub=Cluster opID=SWI-636bf2b7] Sendto[ipv6] fd01:0:106:5:0:a:0:1511: No route to host + key 97:103 ^----^ Sendto + sym 104:108 ^--^ ipv6 + val 104:108 ^--^ ipv6 + grp 104:108 ^--^ ipv6 + val 104:108 ^--^ ipv6 +pair 97:108 ^---------^ Sendto[ipv6 + key 110:110 ^ +ipv6 110:133 ^---------------------^ fd01:0:106:5:0:a:0:1511 + val 110:133 ^---------------------^ fd01:0:106:5:0:a:0:1511 +pair 110:133 ^---------------------^ fd01:0:106:5:0:a:0:1511 + key 135:135 ^ +word 135:137 ^^ No +word 138:143 ^---^ route +word 144:146 ^^ to +word 147:151 ^--^ host + val 135:151 ^--------------^ No route to host +pair 135:151 ^--------------^ No route to host +msg :Sendto[ipv6] fd01:0:106:5:0:a:0:1511: No route to host +format :Sendto[#] #: # +{ + "Sendto": [ + "ipv6" + ], + "col_0": "fd01:0:106:5:0:a:0:1511", + "col_1": "No route to host" +} |