summaryrefslogtreecommitdiffstats
path: root/src/formats/fsck_hfs_log.json
blob: 21757abc013cb23771c2be8a8c9a7afcbb162e19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "$schema": "https://lnav.org/schemas/format-v1.schema.json",
    "fsck_hfs_log": {
        "title": "Fsck_hfs Log",
        "description": "Log for the fsck_hfs tool on Mac OS X.",
        "regex": {
            "std": {
                "pattern": "^(?<device>[^:]+): fsck_hfs (?:run|started) at (?<timestamp>\\S{3,8} \\S{3,8}\\s+\\d{1,2} \\d{2}:\\d{2}:\\d{2} \\d{4})(?<body>.*)"
            }
        },
        "value": {
            "device": {
                "kind": "string",
                "identifier": true
            }
        },
        "sample": [
            {
                "line": "/dev/rdisk0s2: fsck_hfs run at Wed Jul 25 23:01:18 2012"
            }
        ]
    }
}