Created
October 14, 2015 22:31
-
-
Save galvarado/2e8e6b2470e96d947e35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(?<time>^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2}(\.\d{3})?)) (?<id>(\d)*)?\s?(?<severity>(INFO|ERROR|WARNING|CRITICAL)) (?<component>([A-Za-z,\.,\,\_]*(\.)*))+ (?<description>([A-Za-z,\.,\[,\],\s,\:,\-,\d,\(,\),\=,\/,\',\",\_,{,}]*))$ | |
Test case: | |
2015-10-14 17:16:19.330 INFO nova.osapi_compute.wsgi.server [req-bef63dd4-2450-47ab-92f1-b4388a747ba7 admin demo] 104.131.138.224 "GET /v2.1/ceddd0c4f5214101b2026aef64797d51/limits HTTP/1.1" status: 200 len: 779 time: 0.2924919{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment