Skip to content

Commit

Permalink
Improved variations on vmware.log regex to accept lines without error…
Browse files Browse the repository at this point in the history
…s and codes.
  • Loading branch information
hagfelsh committed Sep 11, 2015
1 parent f5ec5d2 commit e5a6152
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 350 deletions.
340 changes: 0 additions & 340 deletions LICENSE

This file was deleted.

2 changes: 0 additions & 2 deletions README.md

This file was deleted.

6 changes: 6 additions & 0 deletions ehcmd-log.json.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"regex": {
"std": {
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2})Z (?<level>\\w{1}) EHCMD (?<method>\\w+):(?<method_id>\\d+) (?<body>.*)"
},
"mem1.3": {
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2})Z (?<level>\\w{1}) EHCMD \\w+\\|(?<method>\\w+)\\|(?<method_id>\\d+)\\|(?<body>.*)"
}
},
"level-field": "level",
Expand All @@ -28,6 +31,9 @@
"sample": [
{
"line" : "2015-06-01T02:27:27Z E EHCMD stack:134 /usr/lib/cim/libdellprovider.so(_ZN13StackConsumerC1ERSt6vectorISsSaISsEE+0x39) [0x1e5ada5b]"
},
{
"line" : "2015-07-16T23:17:24Z I EHCMD INFO|ReopenTraceFile|240|Log file reopened:"
}
]
}
Expand Down
Loading

0 comments on commit e5a6152

Please sign in to comment.