mirror of
https://github.com/tstack/lnav.git
synced 2024-09-11 21:07:39 +03:00
[formats] add nextflow_log
This commit is contained in:
parent
91a47dbd39
commit
df29c7d0dd
@ -22,6 +22,7 @@ FORMAT_FILES = \
|
||||
$(srcdir)/%reldir%/journald_json_log.json \
|
||||
$(srcdir)/%reldir%/katello_log.json \
|
||||
$(srcdir)/%reldir%/nextcloud_log.json \
|
||||
$(srcdir)/%reldir%/nextflow_log.json \
|
||||
$(srcdir)/%reldir%/openam_log.json \
|
||||
$(srcdir)/%reldir%/openamdb_log.json \
|
||||
$(srcdir)/%reldir%/openstack_log.json \
|
||||
|
29
src/formats/nextflow_log.json
Normal file
29
src/formats/nextflow_log.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
||||
"nextflow_log": {
|
||||
"description": "Format file for nextflow.io logs",
|
||||
"url": [
|
||||
"https://nextflow.io/docs/latest/cli.html#execution-logs"
|
||||
],
|
||||
"regex": {
|
||||
"std": {
|
||||
"pattern": "(?<timestamp>\\w{3}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{3}) \\[(?<thread>[^\\]]+)\\] (?<level>[^ ]+)\\s+(?<module>[^ ]+) - (?<body>.*)"
|
||||
}
|
||||
},
|
||||
"value": {
|
||||
"module": {
|
||||
"kind": "string",
|
||||
"identifier": true
|
||||
},
|
||||
"thread": {
|
||||
"kind": "string",
|
||||
"identifier": true
|
||||
}
|
||||
},
|
||||
"sample": [
|
||||
{
|
||||
"line": "Mar-18 21:41:15.684 [main] DEBUG nextflow.cli.Launcher - $> nextflow run nf-core/rnaseq -profile test,docker --outdir results"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -59,6 +59,7 @@ TIME_FORMATS = \
|
||||
"%d %b %Y %H:%M:%S.%L" \
|
||||
"%d %b %Y %H:%M:%S,%L" \
|
||||
"%d %b %Y %H:%M" \
|
||||
"%b-%d %H:%M:%S" \
|
||||
"%b %d %H:%M:%S" \
|
||||
"%b %d %k:%M:%S" \
|
||||
"%b %d %l:%M:%S" \
|
||||
|
Loading…
Reference in New Issue
Block a user