mirror of
https://github.com/tstack/lnav
synced 2024-11-15 18:13:10 +00:00
26cd9f5930
Fixes #389 Fixes #390
23 lines
540 B
JSON
23 lines
540 B
JSON
{
|
|
"epoch_log": {
|
|
"title": "epoch timestamp test",
|
|
"regex": {
|
|
"std": {
|
|
"pattern": "^(?<timestamp>\\d+) (?<body>.*)$"
|
|
},
|
|
"non_epoch": {
|
|
"pattern": "^(?<timestamp>\\d+-\\d+-\\d+ \\d+:\\d+:\\d+\\.\\d+) (?<body>.*)$"
|
|
}
|
|
},
|
|
"timestamp-format" : [
|
|
"%i",
|
|
"%Y-%m-%d %H:%M:%S.%f"
|
|
],
|
|
"sample": [
|
|
{
|
|
"line": "1428634687123 Hello, World!"
|
|
}
|
|
]
|
|
}
|
|
}
|