summaryrefslogtreecommitdiffstats
path: root/src/formats/nextflow_log.json
blob: c4dc39c49a8c975a8aedc064c246b2c01cbcfd15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
    "$schema": "https://lnav.org/schemas/format-v1.schema.json",
    "nextflow_log": {
        "title": "Nextflow log format",
        "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>.*)"
            }
        },
        "timestamp-format": [
            "%b-%d %H:%M:%S"
        ],
        "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"
            }
        ]
    }
}