[formats] add format for github event log

pull/1235/head
Tim Stack 3 months ago
parent 4194f12a34
commit 164f3532cb

File diff suppressed because it is too large Load Diff

@ -188,7 +188,7 @@ nonstd::optional<data_scanner::tokenize_result> data_scanner::tokenize2(text_for
cap_inner.c_end -= 1;
return tokenize_result{token_out, cap_all, cap_inner, this->ds_input.data()};
}
<init, bol> ("f"|"u"|"r")?'"""'[^\x00\x16\x1b]*'"""' {
<init, bol> ("f"|"u"|"r")?'"""' {
CAPTURE(DT_QUOTED_STRING);
switch (this->ds_input[cap_inner.c_begin]) {
case 'f':
@ -197,10 +197,43 @@ nonstd::optional<data_scanner::tokenize_result> data_scanner::tokenize2(text_for
cap_inner.c_begin += 1;
break;
}
cap_inner.c_begin += 1;
cap_inner.c_end -= 1;
cap_inner.c_begin += 3;
goto yyc_dbldocstring;
}
<dbldocstring> ([\x00]|'"""') {
CAPTURE(DT_QUOTED_STRING);
cap_inner.c_end -= 3;
return tokenize_result{token_out, cap_all, cap_inner, this->ds_input.data()};
}
<dbldocstring> * {
goto yyc_dbldocstring;
}
<init, bol> ("f"|"u"|"r")?"'''" {
CAPTURE(DT_QUOTED_STRING);
switch (this->ds_input[cap_inner.c_begin]) {
case 'f':
case 'u':
case 'r':
cap_inner.c_begin += 1;
break;
}
cap_inner.c_begin += 3;
goto yyc_sdocstring;
}
<sdocstring> ([\x00]|"'''") {
CAPTURE(DT_QUOTED_STRING);
cap_inner.c_end -= 3;
return tokenize_result{token_out, cap_all, cap_inner, this->ds_input.data()};
}
<sdocstring> * {
goto yyc_sdocstring;
}
<init, bol> "/*" ([^\x00*]|"*"+[^\x00/])* "*"+ "/" {
CAPTURE(DT_COMMENT);
if (tf == text_format_t::TF_DIFF) {

@ -15,6 +15,7 @@ FORMAT_FILES = \
$(srcdir)/%reldir%/error_log.json \
$(srcdir)/%reldir%/esx_syslog_log.json \
$(srcdir)/%reldir%/fsck_hfs_log.json \
$(srcdir)/%reldir%/github_events_log.json \
$(srcdir)/%reldir%/glog_log.json \
$(srcdir)/%reldir%/haproxy_log.json \
$(srcdir)/%reldir%/java_log.json \

@ -0,0 +1,194 @@
{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"github_events_log": {
"title": "GitHub Events Log",
"description": "Format for the public GitHub timeline from gharchive.org",
"url": "https://gharchive.org",
"file-type": "json",
"timestamp-field": "created_at",
"opid-field": "actor/display_login",
"line-format": [
{
"field": "__timestamp__"
},
{
"prefix": " ",
"field": "type"
},
{
"prefix": " ",
"field": "actor/display_login"
},
{
"prefix": " ",
"field": "payload/action",
"default-value": ""
},
{
"prefix": " ",
"field": "payload/member/login",
"suffix": " to",
"default-value": ""
},
{
"prefix": " committed \u201c",
"field": "payload/commits#/message",
"suffix": "\u201d to",
"default-value": ""
},
{
"prefix": " forked ",
"field": "payload/forkee/full_name",
"suffix": " from",
"default-value": ""
},
{
"prefix": " review ",
"field": "payload/review/id",
"suffix": " for",
"default-value": ""
},
{
"prefix": " pull-request #",
"field": "payload/pull_request/number",
"default-value": ""
},
{
"prefix": " \u201c",
"field": "payload/pull_request/title",
"suffix": "\u201d in",
"default-value": ""
},
{
"prefix": " issue #",
"field": "payload/issue/number",
"default-value": ""
},
{
"prefix": " \u201c",
"field": "payload/issue/title",
"suffix": "\u201d in",
"default-value": ""
},
{
"prefix": " ",
"field": "payload/ref_type",
"default-value": ""
},
{
"prefix": " off ",
"field": "payload/master_branch",
"suffix": " in",
"default-value": ""
},
{
"prefix": " ",
"field": "payload/pages#/action",
"default-value": ""
},
{
"prefix": " page ",
"field": "payload/pages#/title",
"suffix": " in",
"default-value": ""
},
{
"prefix": " ",
"field": "payload/release/name",
"suffix": " in",
"default-value": ""
},
{
"prefix": " ",
"field": "repo/name",
"default-value": ""
}
],
"value": {
"id": {
"kind": "string",
"identifier": true,
"hidden": true
},
"type": {
"kind": "string",
"identifier": true
},
"actor": {
"kind": "json",
"hidden": true
},
"actor/display_login": {
"kind": "string",
"identifier": true
},
"org": {
"kind": "json",
"hidden": true
},
"payload": {
"kind": "json",
"hidden": true
},
"payload/action": {
"kind": "string"
},
"payload/commits#/message": {
"kind": "string"
},
"payload/forkee/full_name": {
"kind": "string"
},
"payload/master_branch": {
"kind": "string",
"identifier": true
},
"payload/member/login": {
"kind": "string",
"identifier": true
},
"payload/pull_request/number": {
"kind": "integer",
"identifier": true
},
"payload/pull_request/title": {
"kind": "string"
},
"payload/issue/number": {
"kind": "integer",
"identifier": true
},
"payload/issue/title": {
"kind": "string"
},
"payload/pages#/action": {
"kind": "string"
},
"payload/pages#/title": {
"kind": "string"
},
"payload/ref_type": {
"kind": "string"
},
"payload/release/name": {
"kind": "string"
},
"payload/review/id": {
"kind": "integer",
"identifier": true
},
"public": {
"kind": "boolean",
"hidden": true
},
"repo": {
"kind": "json",
"hidden": true
},
"repo/name": {
"kind": "string",
"identifier": true
}
}
}
}

@ -1,70 +1,70 @@
{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"nextcloud": {
"title": "Nextcloud server logs",
"description": "Nextcloud JSON server logs audit.log, flow.log, and nextcloud.log",
"url": "https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/logging_configuration.html?highlight=logging#log-field-breakdown",
"json": true,
"opid-field": "reqId",
"level-field": "level",
"body-field": "message",
"hide-extra": true,
"level" : {
"debug" : "0",
"info": "1",
"warning" : "2",
"error" : "3",
"fatal" : "4"
},
"timestamp-field": "time",
"convert-to-local-time": true,
"multiline": false,
"value": {
"exception": {
"kind": "json"
},
"app": {
"kind": "string",
"identifier": true
},
"reqId": {
"kind": "string",
"identifier": true
},
"remoteAddr": {
"kind": "string",
"identifier": true
}
},
"line-format": [
{
"field": "__timestamp__",
"timestamp-format": "%b %e %H:%M:%S"
},
" ",
{
"field": "reqId",
"max-width": 3,
"overflow": "truncate"
},
" ",
{
"field": "remoteAddr",
"min-width": 15
},
" ",
{
"field": "__level__",
"text-transform": "uppercase"
},
" ",
{
"field": "app"
},
" ",
{
"field": "message"
}
]
}
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"nextcloud": {
"title": "Nextcloud server logs",
"description": "Nextcloud JSON server logs audit.log, flow.log, and nextcloud.log",
"url": "https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/logging_configuration.html?highlight=logging#log-field-breakdown",
"json": true,
"opid-field": "reqId",
"level-field": "level",
"body-field": "message",
"hide-extra": true,
"level": {
"debug": 0,
"info": 1,
"warning": 2,
"error": 3,
"fatal": 4
},
"timestamp-field": "time",
"convert-to-local-time": true,
"multiline": false,
"value": {
"exception": {
"kind": "json"
},
"app": {
"kind": "string",
"identifier": true
},
"reqId": {
"kind": "string",
"identifier": true
},
"remoteAddr": {
"kind": "string",
"identifier": true
}
},
"line-format": [
{
"field": "__timestamp__",
"timestamp-format": "%b %e %H:%M:%S"
},
" ",
{
"field": "reqId",
"max-width": 3,
"overflow": "truncate"
},
" ",
{
"field": "remoteAddr",
"min-width": 15
},
" ",
{
"field": "__level__",
"text-transform": "uppercase"
},
" ",
{
"field": "app"
},
" ",
{
"field": "message"
}
]
}
}

@ -1897,10 +1897,10 @@ json_each(*X*, *\[P\]*)
;SELECT * FROM json_each('[null,1,"two",{"three":4.5}]')
key value type atom id parent fullkey path
0 <NULL> null <NULL> 1 <NULL> $[0] $
1 1 integer 1 2 <NULL> $[1] $
2 two text two 3 <NULL> $[2] $
3 {"three":4.5} object <NULL> 4 <NULL> $[3] $
0 <NULL> null <NULL> 2 <NULL> $[0] $
1 1 integer 1 3 <NULL> $[1] $
2 two text two 5 <NULL> $[2] $
3 {"three":4.5} object <NULL> 9 <NULL> $[3] $
**See Also**
:ref:`jget`, :ref:`json_array_length`, :ref:`json_array`, :ref:`json_concat`, :ref:`json_contains`, :ref:`json_extract`, :ref:`json_group_array`, :ref:`json_group_object`, :ref:`json_insert`, :ref:`json_object`, :ref:`json_quote`, :ref:`json_remove`, :ref:`json_replace`, :ref:`json_set`, :ref:`json_tree`, :ref:`json_type`, :ref:`json_valid`, :ref:`json`, :ref:`yaml_to_json`

@ -2209,6 +2209,9 @@ external_log_format::get_subline(const logline& ll,
ssize_t ts_len;
char ts[64];
if (!jfe.jfe_prefix.empty()) {
this->json_append_to_cache(jfe.jfe_prefix);
}
if (jfe.jfe_ts_format.empty()) {
ts_len = sql_strftime(
ts, sizeof(ts), ll.get_timeval(), 'T');
@ -2239,6 +2242,9 @@ external_log_format::get_subline(const logline& ll,
lv_iter)]
= true;
}
if (!jfe.jfe_suffix.empty()) {
this->json_append_to_cache(jfe.jfe_suffix);
}
} else if (jfe.jfe_value.pp_value == level_field
|| jfe.jfe_value.pp_value
== this->elf_level_field)

@ -435,7 +435,7 @@ logfile::process_prefix(shared_buffer_ref& sbr,
* written out at the same time as the last one, so we need to
* go back and update everything.
*/
auto& last_line = this->lf_index.back();
const auto& last_line = this->lf_index.back();
for (size_t lpc = 0; lpc < this->lf_index.size() - 1; lpc++) {
if (this->lf_format->lf_multiline) {

@ -304,6 +304,8 @@ EXPECTED_FILES = \
$(srcdir)/%reldir%/test_json_format.sh_4315a3d6124c14cbe3c474b6dbf4cc8720a9859f.out \
$(srcdir)/%reldir%/test_json_format.sh_469f005b0708d629bc95f0c48a5e390f440c1fef.err \
$(srcdir)/%reldir%/test_json_format.sh_469f005b0708d629bc95f0c48a5e390f440c1fef.out \
$(srcdir)/%reldir%/test_json_format.sh_5795c5ffd98ae581b30c6f0983349bf7a6a84501.err \
$(srcdir)/%reldir%/test_json_format.sh_5795c5ffd98ae581b30c6f0983349bf7a6a84501.out \
$(srcdir)/%reldir%/test_json_format.sh_6767b91d715338c24c67e928b59c560c84ddf4be.err \
$(srcdir)/%reldir%/test_json_format.sh_6767b91d715338c24c67e928b59c560c84ddf4be.out \
$(srcdir)/%reldir%/test_json_format.sh_6fbe20faa161ab9fa77df7568fff84bf3e47e920.err \
@ -402,8 +404,6 @@ EXPECTED_FILES = \
$(srcdir)/%reldir%/test_meta.sh_3c9b5940f7533c5fc3d4956a6efce50a9e7132d4.out \
$(srcdir)/%reldir%/test_meta.sh_41f643bb4f720130625b042563e9591bee4ae588.err \
$(srcdir)/%reldir%/test_meta.sh_41f643bb4f720130625b042563e9591bee4ae588.out \
$(srcdir)/%reldir%/test_meta.sh_4283bf9128e0396c4ff141faf68279d5a3d8ac63.err \
$(srcdir)/%reldir%/test_meta.sh_4283bf9128e0396c4ff141faf68279d5a3d8ac63.out \
$(srcdir)/%reldir%/test_meta.sh_45ff39a3d0ac0ca0c95aaca14d043450cec1cedd.err \
$(srcdir)/%reldir%/test_meta.sh_45ff39a3d0ac0ca0c95aaca14d043450cec1cedd.out \
$(srcdir)/%reldir%/test_meta.sh_48e85ba0c0945a5085fb4ee255771406061a9c17.err \
@ -422,8 +422,6 @@ EXPECTED_FILES = \
$(srcdir)/%reldir%/test_meta.sh_a7489c1f0e001adc732b7e2ab31bb30960fda078.out \
$(srcdir)/%reldir%/test_meta.sh_aae427fe704f131f8466fbfc9e7967c2e874530a.err \
$(srcdir)/%reldir%/test_meta.sh_aae427fe704f131f8466fbfc9e7967c2e874530a.out \
$(srcdir)/%reldir%/test_meta.sh_ad2f396f332d14ed6e95936983bc7e4aeea0bfac.err \
$(srcdir)/%reldir%/test_meta.sh_ad2f396f332d14ed6e95936983bc7e4aeea0bfac.out \
$(srcdir)/%reldir%/test_meta.sh_b622c04c2bede5371bfa6f2627b0474049ecc5e9.err \
$(srcdir)/%reldir%/test_meta.sh_b622c04c2bede5371bfa6f2627b0474049ecc5e9.out \
$(srcdir)/%reldir%/test_meta.sh_c063f96398650f130941bbbf4cf63c1244fdbee5.err \

@ -0,0 +1,52 @@
2024-01-01T15:00:00Z MemberEvent mujianwu added Envoy-Z-Lab to Uotan-Dev/UotanWorkStation-ROM-Builder
2024-01-01T15:00:00Z PushEvent mdmaid69 committed “float further safety possibly strike” to mdmaid69/reimagined-giggle
2024-01-01T15:00:00Z ForkEvent SynthWave-Systems forked SynthWave-Systems/ampleforth-contracts from ampleforth/ampleforth-contracts
2024-01-01T15:00:00Z PullRequestEvent tobexyz closed pull-request #90 “merge latest release to master” in tobexyz/yaacc-code
2024-01-01T15:00:00Z PushEvent dim12512a committed “Empty Commit” to dim12512a/Repo5
2024-01-01T15:00:00Z PushEvent github-shvabra committed “new change” to saby/ios-sabycom
2024-01-01T15:00:00Z CreateEvent roman1923 repository off main in roman1923/no-woo-small-cta-fast-food-shop
2024-01-01T15:00:00Z PushEvent appref5555ix63 committed “Empty Commit” to appref5555ix63/Repo4
2024-01-01T15:00:00Z PullRequestReviewEvent megusasuke0 created review 1799820649 for pull-request #1 “Feature/lesson01” in megusasuke0/frontendhandson
2024-01-01T15:00:00Z PushEvent dim12512a committed “Empty Commit” to dim12512a/Repo6
2024-01-01T15:00:00Z ForkEvent Shadowxiaomo forked Shadowxiaomo/MemDumper from kp7742/MemDumper
2024-01-01T15:00:00Z PushEvent Jinyeong1611 committed “방향값 추가” to Jinyeong1611/pacman
2024-01-01T15:00:00Z PullRequestEvent dependabot closed pull-request #911 “Bump @storybook/addon-a11y from 7.5.3 to 7.6.3” in DNNCommunity/dnn-elements
2024-01-01T15:00:01Z PushEvent ColeMalinchock1 committed “Update backup JSON file” to ColeMalinchock1/HGT-JSON-Server
2024-01-01T15:00:01Z PushEvent uyenlexx committed “update navbar and search” to HoanqDucAnh/Keebie
2024-01-01T15:00:01Z DeleteEvent direwolf-github branch direwolf-github/ephemeral-ci-f72a7b4a
2024-01-01T15:00:01Z PushEvent Zarakkhan-dev committed “khtam” to Zarakkhan-dev/LegalaiAssistentBackend
2024-01-01T15:00:01Z PushEvent appref5555ix63 committed “Empty Commit” to appref5555ix63/Repo2
2024-01-01T15:00:01Z ForkEvent tarinisunil forked tarinisunil/Get_Better_at_CP_in_2_Months from sahilbansal17/Get_Better_at_CP_in_2_Months
2024-01-01T15:00:01Z ForkEvent jackblack369 forked jackblack369/danswer from danswer-ai/danswer
2024-01-01T15:00:01Z ForkEvent vineetp6 forked vineetp6/pydub from jiaaro/pydub
2024-01-01T15:00:01Z PushEvent lhduc94 committed “push book” to lhduc94/kungfupandas
2024-01-01T15:00:01Z PushEvent ranadebsaha committed “Add files via upload” to ranadebsaha/DSA
2024-01-01T15:00:01Z PushEvent harmanpa committed “Add ability for STL and DXF parsers to read from InputStream rather than just files” to harmanpa/jgeom
2024-01-01T15:00:01Z PushEvent dim12512a committed “Empty Commit” to dim12512a/Repo6
2024-01-01T15:00:01Z PushEvent namson26 committed “ industry talk PPG and Habib” to namson26/Technology-Information-System
2024-01-01T15:00:01Z PushEvent mdmaid69 committed “last recover hurt off claim” to mdmaid69/reimagined-giggle
2024-01-01T15:00:01Z PushEvent dim12512a committed “Empty Commit” to dim12512a/Repo7
2024-01-01T15:00:01Z PullRequestEvent tomgransden closed pull-request #26 “Dev/tg/add firestore” in tomgransden/MyTummyHurtsApp
2024-01-01T15:00:01Z PushEvent dim12512a committed “Empty Commit” to dim12512a/Repo7
2024-01-01T15:00:01Z PushEvent vedant-z committed “Update to 2 in STEP and README.md” to Exp-Intro-to-GitHub-Flow-Cohort-1/series-intro-to-github-flow-vedant-z
payload/commits#/message: Create PROFILE.md
payload/commits#/message: Update to 3 in STEP and README.md
2024-01-01T15:00:01Z WatchEvent morteza-rp started MasoudKaviani/filoger_fanap_402
2024-01-01T15:00:01Z PushEvent B74LABgit committed “committing files” to B74LABgit/CAM
2024-01-01T15:00:01Z PushEvent sdhz151 sdhz153/Actions-OpenWrt
2024-01-01T15:00:01Z CreateEvent UjjawalSah repository off main in UjjawalSah/ModernFarming
2024-01-01T15:00:01Z PushEvent wodcoredev committed “Update index.html” to wod-core/website
2024-01-01T15:00:01Z PushEvent Vsonneveld committed “The genre has been updated” to Vsonneveld/foroxity-genres
2024-01-01T15:00:01Z PushEvent diphons committed “cpu_input_boost: use MI_DRM notifier” to diphons/sdm845-419
2024-01-01T15:00:01Z PushEvent l1nky-1337 committed “README.md” to l1nky-1337/TimeFn-Updated
2024-01-01T15:00:01Z CreateEvent luiz8910 repository off main in luiz8910/codeflix
2024-01-01T15:00:01Z PushEvent Owl3CM committed “sync” to Owl3CM/Eze-Scripts
2024-01-01T15:00:01Z PullRequestReviewEvent SamboyCoding created review 1799820647 for pull-request #255 “Support Type Parameters in Call Analysis” in SamboyCoding/Cpp2IL
2024-01-01T15:00:01Z PushEvent lu146enza committed “Empty Commit” to lu146enza/Repo9
2024-01-01T15:00:01Z PushEvent fdvorak committed “automated commit 2024-01-01 15:59:14” to fdvorak/sandWind
2024-01-01T15:00:01Z PushEvent github-shvabra committed “new change” to saby/ios-sabycom
2024-01-01T15:00:01Z DeleteEvent artamonovkirill branch tomtom-international/goji-http-client
2024-01-01T15:00:01Z PullRequestEvent github-actions closed pull-request #45 “build(deps-dev): bump ts-node from 10.9.1 to 10.9.2” in jckimble/Github-Graph-Background
2024-01-01T15:00:01Z PushEvent leegical committed “Upload by PicGo” to leegical/Blog_img
2024-01-01T15:00:01Z CreateEvent mohil298 repository off main in mohil298/PCB-Designing
2024-01-01T15:00:01Z PullRequestReviewEvent ehsandeep created review 1799820657 for pull-request #1102 “chore(deps): bump github.com/projectdiscovery/goflags from 0.1.32 to 0.1.33 in /v2” in projectdiscovery/subfinder

@ -1 +1 @@
87.226.160.250 2022-10-30T00:00:02Z "HEAD / HTTP/1.1" 301 570
87.226.160.250 [2022-10-30T00:00:02Z] "HEAD / HTTP/1.1" 301 570

@ -1,2 +1,2 @@
87.226.160.250 2022-10-30T00:00:02Z "HEAD / HTTP/1.1" 301 570
87.226.160.250 [2022-10-30T00:00:02Z] "HEAD / HTTP/1.1" 301 570
RayID: 761fde4e984e5ab2

@ -3,7 +3,7 @@
"unit_test_log": {
"regex": {
"std": {
"pattern": "\\[(?<timestamp>\\d+\\/\\d+\\/\\d+ \\d+:\\d+:\\d+) (?<jobserver>[\\w.]+) (?<workqueue>[\\w.]+) (?<processid>\\d+)\\] (?<body>.*)$"
"pattern": "(?<timestamp>[A-Za-z]+ [A-Za-z]+ +[0-9]+ [0-9]+:[0-9]+:[0-9]+ [0-9]+) : (?<level>[A-Z][a-z]+): (?<seq>\\([0-9]+\\) )?(?<body>.*)$"
}
}
}

@ -5,3 +5,9 @@
reason: “timestamp” was not found in the pattern at /unit_test_log/regex/std
✘ error: invalid value for property “/unit_test_log/timestamp-field”
reason: “timestamp” was not found in the pattern at /unit_test_log/regex/std
✘ error: invalid value for property “/unit_test_log/timestamp-field”
reason: “timestamp” was not found in the pattern at /unit_test_log/regex/std
✘ error: invalid value for property “/unit_test_log/timestamp-field”
reason: “timestamp” was not found in the pattern at /unit_test_log/regex/std
✘ error: invalid value for property “/unit_test_log/timestamp-field”
reason: “timestamp” was not found in the pattern at /unit_test_log/regex/std

@ -4,30 +4,35 @@
"description": "Format file generated from regex101 entry -- https://regex101.com/r/zpEnjV/2",
"regex": {
"std": {
"pattern": "\\[(?<timestamp>\\d+\\/\\d+\\/\\d+ \\d+:\\d+:\\d+) (?<jobserver>[\\w.]+) (?<workqueue>[\\w.]+) (?<processid>\\d+)\\] (?<body>.*)$"
"pattern": "(?<timestamp>[A-Za-z]+ [A-Za-z]+ +[0-9]+ [0-9]+:[0-9]+:[0-9]+ [0-9]+) : (?<level>[A-Z][a-z]+): (?<seq>\\([0-9]+\\) )?(?<body>.*)$"
}
},
"value": {
"jobserver": {
"level": {
"kind": "string"
},
"processid": {
"seq": {
"kind": "string"
},
"timestamp": {
"kind": "string"
},
"workqueue": {
"kind": "string"
}
},
"sample": [
{
"line": "[03/22/2021 02:00:02 job1074.example.com db.db81.example_events 54026] {\"ELAPSED\":\"0.011\",\"LEVEL\":\"info\",\"MESSAGE\":\"finished in 0.011\\n\",\"PREFIX\":\"YFgyWQriCmsAAofJAAAAHg\",\"ROUTINGKEY\":\"EXAMPLE1366.Example.Events._Publish\"}"
"line": "Fri Jul 15 23:12:58 2016 : Info: Loaded virtual server <default>"
},
{
"line": "Fri Jul 15 23:12:58 2016 : Warning: Ignoring \"sql\" (see raddb/mods-available/README.rst)"
},
{
"line": "Wed Oct 18 22:17:43 2023 : Info: (102211) radutmp: NAS wifi-router rebooted (Accounting-Off packet seen)"
},
{
"line": "Fri Oct 20 18:50:05 2023 : Auth: (105290) Login OK: [iphonese3] (from client wifi-router port 0 via TLS tunnel)"
},
{
"description": "sample 1",
"line": "[03/22/2021 02:00:02 job1074.example.com db.db81.example_events 54026] {\"ELAPSED\":\"0.011\",\"LEVEL\":\"info\",\"MESSAGE\":\"finished in 0.011\\n\",\"PREFIX\":\"YFgyWQriCmsAAofJAAAAHg\",\"ROUTINGKEY\":\"EXAMPLE1366.Example.Events._Publish\"}"
"line": "Fri Oct 20 18:50:05 2023 : Auth: (105291) Login OK: [iphonese3] (from client wifi-router port 197 cli 22-2E-28-D6-F5-CC)"
}
]
}

File diff suppressed because one or more lines are too long

@ -158,3 +158,6 @@ run_cap_test ${lnav_test} -n \
run_cap_test ${lnav_test} -n \
${test_dir}/logfile_nextcloud.0
run_cap_test ${lnav_test} -n \
${test_dir}/gharchive_log.jsonl

Loading…
Cancel
Save