summaryrefslogtreecommitdiffstats
path: root/src/formats/fsck_hfs_log.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/formats/fsck_hfs_log.json')
-rw-r--r--src/formats/fsck_hfs_log.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/formats/fsck_hfs_log.json b/src/formats/fsck_hfs_log.json
new file mode 100644
index 0000000..21757ab
--- /dev/null
+++ b/src/formats/fsck_hfs_log.json
@@ -0,0 +1,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"
+ }
+ ]
+ }
+} \ No newline at end of file