Commit Graph

82 Commits

Author SHA1 Message Date
Timothy Stack
3f4e11a693 [fmt] first pass at supporting sub-formats (called module formats) 2015-07-17 20:39:06 -07:00
Timothy Stack
7ef92dab79 [format] try to validate formats against a given file 2015-07-11 16:32:48 -07:00
Timothy Stack
879bbd581e [pt] rough draft of tail for papertrail 2015-07-06 20:53:42 -07:00
Timothy Stack
4ceddbe82e [ptimec] fix handling of month in interpreted formats
Also missed the null terminator on the list of custom
timestamp formats.
2015-06-30 21:53:01 -07:00
Timothy Stack
504b5747fe [sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes 2015-06-03 06:36:58 -07:00
Suresh Sundriyal
e9c48fbf39 [log_format] Don't capture the sub-groups.
I don't think there is any reason to capture the (OR) sub-group in
ERR(OR) separately.
2015-05-20 00:41:00 -07:00
Timothy Stack
cec3d0cb72 [generic_log] add time format that includes zone 2015-05-17 05:15:41 -07:00
Timothy Stack
94459f2cb1 [generic_log] fix log levels for generic_log 2015-05-01 20:52:00 -07:00
Timothy Stack
1d0233bbfa [json-format] support for full paths 2015-04-25 12:15:51 -07:00
Timothy Stack
245a3c3d1b [fmt] allow timestamp to be specified in the log format
Fixes #155
2015-04-10 22:55:57 -07:00
Timothy Stack
ae64b599bd [format] add more log levels and fix some more pretty-printer glitches
Fixes #212
2015-04-10 19:50:05 -07:00
Timothy Stack
a300ce9977 [format] order the formats based on sample matches 2015-04-05 07:12:20 -07:00
Suresh Sundriyal
ff4db03d5b [-Wsign-compare *&& -Wuninitailzed] log_format.cc 2015-04-01 23:50:28 -07:00
Suresh Sundriyal
6a2c28450e [Coverity] Initialize class variables. 2015-03-28 14:46:10 -07:00
Suresh Sundriyal
74de13e2c9 Remove unused 'strncasestr_i'.
The function is not really used anywhere and does not really do what the
name suggests it should. It leads to compiler warnings about 'unused'
function. Removing this for now.
2015-03-21 13:43:40 -07:00
Suresh Sundriyal
1c0d3a4f5a [Warnings] varargs with reference parameters.
'va_start' has undefined behvaior with reference types, so use a pointer instead.
2015-03-21 11:56:12 -07:00
Timothy Stack
12b81fe4e7 [format] fix full message read for json formats 2015-03-18 22:57:30 -07:00
Timothy Stack
c80e181790 fix ptime_b_slow, again... 2015-02-25 22:18:50 -08:00
Timothy Stack
cfa628f6c4 various fixes
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-11 21:18:55 -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
cd953a548c [filter] update the UI during filtering again
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 06:07:36 -08:00
Timothy Stack
708490e3b0 [mem] some more memory reductions
Defect Number:
    Reviewed By:
   Testing Done:
2014-10-31 13:16:35 -07:00
Timothy Stack
6c1dfe3521 [yajl] add a yajl_reset() so we do not have to do yajl_alloc for every line 2014-10-29 06:42:45 -07:00
Timothy Stack
ccee7caa32 [yajl] bump to version 2.1.0 2014-10-29 06:19:10 -07:00
Timothy Stack
996e665078 fix an invalid read error 2014-10-28 07:12:33 -07: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
ccf29b3bac [coverity] some cleanup and add the chunky_index 2014-09-28 22:36:07 -07:00
Timothy Stack
dc4949305d ignore bad json lines
Defect Number:
    Reviewed By:
   Testing Done:
2014-07-30 16:27:50 -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
Timothy Stack
72e3a4d8df [format] add TCF file format and some fixes to make it work
Defect Number:
    Reviewed By:
   Testing Done:
2014-04-06 22:11:04 -07:00
Timothy Stack
8372cef11c [date] code generator for strptime formats 2014-03-22 08:02:48 -07:00
Timothy Stack
d17f7b1940 [cmd] add set-min-log-level command
Part of #82
2014-03-16 02:46:17 -07:00
Timothy Stack
cbd8308b36 [cmd] use wordexp in the open command 2014-03-15 22:33:56 -07:00
Timothy Stack
06974bc942 [json-log] some tweaks to json-log support 2014-03-11 03:49:52 -07:00
Timothy Stack
b6baae7730 [debug] more debugging stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-03-06 06:58:49 -08:00
Timothy Stack
169a5bd732 [misc] some more tweaks to the last few changes 2014-03-02 11:56:58 -08:00
Timothy Stack
5a04a44381 [tests] add some tests that use headless mode 2014-03-02 08:55:00 -08:00
Timothy Stack
64fe8175a6 [log] add an internal logger instead of using redirected stderr 2014-03-01 16:35:30 -08:00
Timothy Stack
7958c54fd0 [sql] use the default sqlite datetime format so collating works 2014-02-23 10:23:17 -08:00
Timothy Stack
1bb17a0b96 [sql] add a collator for log level
Fix for #77
2014-02-18 09:06:50 -08:00
Timothy Stack
8b11813463 [format] cache indexes to pcre named captures 2014-02-09 07:11:58 -08:00
Timothy Stack
5ef8a168a7 [perf] reduce copies of log messages 2014-02-01 06:41:11 -08:00
Timothy Stack
e200f60a96 [format] avoid making a copy of the string in logline_value and reduce UI updates 2014-01-25 12:13:41 -08:00
Timothy Stack
f4aeb11ad5 [view_curses] use a vector for string attributes
Using a map/multimap is too expensive/complex for how many
attributes we have on a line due to how many tree nodes
need to be malloced/freed.  Just using a vector should be
good enough and a lot faster.
2014-01-25 09:29:35 -08:00
Timothy Stack
bd7b14965b [log-data] fix the column type for numbers 2014-01-18 06:46:51 -08:00
Timothy Stack
59c1d4313b [mouse] more mouse support and other fixes 2013-10-11 06:22:29 -07:00
Timothy Stack
8eb4b02f97 [yajlpp] some optimizations for json log parsing 2013-09-14 06:36:31 -07:00
Timothy Stack
a8c3a8c80b [docs] json format docs and some build fixes 2013-09-10 06:45:48 -07:00