Commit Graph

73 Commits

Author SHA1 Message Date
Timothy Stack
bc26b92199 [json] some more journald log tweaks
Defect Number:
    Reviewed By:
   Testing Done:
2018-08-22 05:33:20 -07:00
Timothy Stack
26cccdafce [locale] some tweaks for recognizing non-english logs
Try to address some locale issues brought up in #533
2018-08-21 21:43:32 -07:00
Timothy Stack
0b36da15a6 add monotonic timestamp back to the journald format, map priority 1 to fatal as well 2018-08-21 11:39:47 -07:00
Timothy Stack
b1ff6b3a3b [json-log] fix some inconsistencies with json logs
Fill some gaps brought up in #535
2018-08-21 11:10:03 -07:00
Emiliano Bonassi
37f46af7a6 [fmt] add AWS Application Load Balancer (ELB v2) format 2018-04-11 14:22:23 +02:00
Timothy Stack
a9fd0e37f6 [formats] add rfc5424 syslog format
Fixes #444
2017-04-29 07:31:55 -07:00
Timothy Stack
78119dc9f1 fixing some minor issues
Fixes #255
2017-04-05 07:05:19 -07:00
Timothy Stack
8776f6a703 [sql] do some minimal parsing/annotation of SQL statements
Defect Number:
    Reviewed By:
   Testing Done:
2017-03-26 06:02:53 -07:00
Benny Zlotnik
ffbe0e477c Update the Vdsm log configuration to support the Vdsm 4.1 log format 2017-03-13 16:50:03 +02:00
Timothy Stack
44d93dddc3 [pretty-print] allow formats to do transforms before pretty-printing
Also started upgrading to C++11.

Fixes #353
2016-12-05 16:34:30 -08:00
Timothy Stack
a59e0b290e [format] allow json log fields to be hidden
Fixes #303
2016-10-29 06:52:12 -07:00
Eli Young
5602af33f8 [fmt] Fix glog_log format
The log format used by glog uses spaces to left-pad the thread to 7
digits, per the code:

https://github.com/golang/glog/blob/65d6746/glog.go#L577

This fixes the regular expression to correctly match the extra
whitespace.
2016-06-30 18:36:45 -07:00
Timothy Stack
fdc2748e3e [spectro] add a spectrogram view that works with known message fields 2016-03-20 15:15:50 -07:00
Timothy Stack
9feb53f02a [sql] add extract() function to extract values from a string using a regex
This function should be preferred over creating log search tables
for scripts.
2016-03-08 06:48:43 -08:00
Timothy Stack
cdd43549ab [cmds] automatically capture echo/write output from scripts so they can generate reports
Add another example script, dhclient-summary.

Add a 'search-table' section to formats so you can automatically
define a search-based table.
2016-03-06 23:58:37 -08:00
Timothy Stack
c4ae8d158c [fmt] minor fix for the generic_log format and add another pattern to vmw_log 2015-12-10 20:36:25 -08:00
Timothy Stack
91406be91e [nav] add "opid" support with a hotkey 2015-11-24 20:59:24 -08:00
Timothy Stack
885f65f402 [fmt] add an ELB format 2015-11-16 22:58:11 -08:00
Timothy Stack
5bb0599d7e [fmt] add a sudo_log format 2015-08-10 20:41:27 -07:00
Timothy Stack
3a87a65ab2 [fmt] add warnings for missing fields 2015-07-20 05:33:02 -07:00
Timothy Stack
010131aaba [docs] update the docs for recent changes 2015-07-19 21:38:37 -07:00
Timothy Stack
3f4e11a693 [fmt] first pass at supporting sub-formats (called module formats) 2015-07-17 20:39:06 -07:00
Timothy Stack
5ef60412db [pt] pass search query to papertrail 2015-07-12 09:57:02 -07:00
Timothy Stack
7ef92dab79 [format] try to validate formats against a given file 2015-07-11 16:32:48 -07:00
Timothy Stack
f392822aa8 [parse] show the path of the pattern used to parse the top line 2015-07-10 21:39:03 -07:00
Timothy Stack
879bbd581e [pt] rough draft of tail for papertrail 2015-07-06 20:53:42 -07:00
Timothy Stack
87ec101f9c [fmts] log format contributions 2015-06-24 21:32:45 -07:00
Suresh Sundriyal
f476f904db [syslog_log] Case-insensitive search for level strings
While looking through syslog messages on OS X, came across plenty of
error/warning messages where the level was in all-caps and as a result
were not recognized. There was also a lot of false positives due to the
word error turning up as part of a longer string.

This change:
- Changes the log level regex to do a case-insensitive search.
- Ognores the string 'error', if it is part of a longer string.
2015-05-31 22:47:39 -07:00
Suresh Sundriyal
97d3c53565 [autodeploy_log] rename the Auto Deploy log format 2015-05-04 23:16:26 -07:00
Timothy Stack
94459f2cb1 [generic_log] fix log levels for generic_log 2015-05-01 20:52:00 -07:00
Suresh Sundriyal
eee628a272 [format] Add a format for Auto Deploy. 2015-04-28 21:55:17 -07:00
Timothy Stack
9ac53b114e add subsystem to the vmk_log format 2015-04-18 21:29:14 -07:00
Suresh Sundriyal
9f53d1d3d1 [regex] VMKernel logs have ALERT as well as WARNING. 2015-04-08 19:08:29 -07:00
Timothy Stack
033c861028 [cmd] next/prev-mark commands 2015-03-29 14:50:34 -07:00
Timothy Stack
c670a86d04 [pretty-print] first pass at a pretty-printer
Defect Number:
    Reviewed By:
   Testing Done:
2015-03-16 23:10:34 -07:00
Timothy Stack
99f34a1447 [fmt] add a vmkernel log format
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-22 10:33:24 -08:00
Tim Stack
80ef38227b Merge pull request #120 from iranzo/master
Add support for OpenStack log formats (tested on neutron, nova)
2014-11-12 07:35:34 -08:00
Pablo Iranzo Gómez
8fc539df16 Specify timestamp and url for Openstack log files 2014-11-12 15:47:28 +01:00
Pablo Iranzo Gómez
d1c5f12bfc Add support for OpenStack log formats (tested on neutron, nova) 2014-11-12 14:43:46 +01:00
Timothy Stack
ba83382b38 [vdsm_log] missed the level field 2014-11-10 13:57:15 -08:00
Pablo Iranzo Gómez
98e8f1b1c3 Add support for RHEV/oVirt engine.log file 2014-11-10 20:37:07 +01:00
Timothy Stack
fc31831286 [vdsm_log] add new format 2014-11-10 08:56:35 -08:00
Timothy Stack
244ee2717f [vmw_log] fix full message read for continued messages 2014-11-07 06:16:45 -08:00
Suresh Sundriyal
fb4eb36796 [vmw_log] 'panic' is an 'error' too.
VPXD prints out the stackframes in the log files when it terminates
abnormally. These log messages have a log level of 'panic'. I guess
these qualify as 'error' as well.
2014-11-07 00:40:00 -08:00
Timothy Stack
c5c37a3202 [vmw_log] update the formats for the vmw_log format 2014-11-06 20:32:35 -08:00
Timothy Stack
d4bea593b7 [perf] optimize json log loading 2014-10-28 07:02:27 -07:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -07:00
Timothy Stack
c491e93797 try to fix openam log on some pcre impls 2014-06-17 23:10:09 -07:00
Timothy Stack
d557002724 [format] add OpenAM log formats 2014-06-17 21:29:42 -07:00
Timothy Stack
1974e1f1ae [jsonptr] initial impl 2014-05-05 06:44:58 -07:00