mirror of https://github.com/tstack/lnav
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
474 B
JSON
16 lines
474 B
JSON
4 years ago
|
{
|
||
|
"block_log": {
|
||
|
"title": "Generic Block",
|
||
|
"description": "A generic format for logs, like cron, that have a date at the start of a block.",
|
||
|
"regex": {
|
||
|
"std": {
|
||
|
"pattern": "^(?<timestamp>\\S{3,8} \\w{3}\\s+\\d{1,2} \\d{2}:\\d{2}:\\d{2} \\w+ \\d{4})(?<body>(?:.|\\n)*)$"
|
||
|
}
|
||
|
},
|
||
|
"sample": [
|
||
|
{
|
||
|
"line": "Sat Apr 27 03:33:07 PDT 2013"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|