Commit Graph

86 Commits

Author SHA1 Message Date
Timothy Stack
138a506b1a [perf] a few performance tweaks 2020-04-23 06:42:48 -07:00
Timothy Stack
73e902f7d8 [json-log] handle invalid json log lines
Header from folded patch 'foldme1.patch':

[local] foldme
2019-09-03 06:19:57 -07:00
Timothy Stack
02c53976b4 Some refactoring for the line buffer and other cleanups
Fixes #649
2019-06-15 06:32:02 -07:00
Timothy Stack
6cf5cc8213 [logfile] fix issue when files have headers
Defect Number:
    Reviewed By:
   Testing Done:
2019-05-17 07:42:05 -07:00
Timothy Stack
fb7d6eafaf [build] some refactoring of files 2019-05-08 05:30:59 -07:00
Timothy Stack
21c5c52843 [format] allow multiple log format patterns per log file
This tries to address #624
2019-03-13 16:37:41 -07:00
Timothy Stack
66ef968529 [logfile] fix a performance bug in searching json logs 2018-12-16 21:45:10 -08:00
Timothy Stack
6336fa56e9 [cmds] :write-json-to should passthru JSON columns as JSON instead of strings
Fixes #565
2018-11-14 21:46:49 -08:00
Timothy Stack
2589345e5c [perf] improve initial indexing times 2018-10-17 07:03:33 -07:00
Timothy Stack
5689984702 [yajlpp] use pointer to member over nullobj() 2018-05-25 06:32:01 -07:00
Timothy Stack
3293388165 [generic_log] allow optional stars at the front of the log messages 2018-04-20 07:43:11 -07:00
Timothy Stack
7d7060ae4c [generic_log] fix recognition for generic logs
The generic format picks up extra text in the timestamp, which
caused the date time scanner to reject some matches.  I think
it's okay to allow for some trailing junk, so it no longer
ensures the size of the match is the same as the input.
2018-02-04 22:21:18 -08:00
Timothy Stack
2e095fb03e [time] add a time format 2017-07-18 06:03:02 -07:00
Timothy Stack
4f47c34c92 [build] missing strnstr 2017-04-23 07:20:18 -07:00
Timothy Stack
8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-23 07:11:21 -07:00
Timothy Stack
16fd7ec785 [help] remove old command help and add some more filesystem extensions 2017-04-16 15:07:41 -07:00
Timothy Stack
f567aafe3b [c++11] migration #1
Just a start
2016-12-10 07:21:24 -08:00
Timothy Stack
4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
2016-04-02 20:58:20 -07:00
Timothy Stack
99eb3a54f3 [spectro] support marking lines in a bucket 2016-03-22 23:19:26 -07: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
8964232374 [json] fixes for json log parsing
I was careless with the initial json log impl since it did not deal
with incomplete log lines very well.  This seems to fix some cases.
But, I was still able to replicate a lockup at one point, so it
might not be complete.
2015-11-27 12:47:42 -08:00
Timothy Stack
ec473edc85 [cmd] add support for times in goto 2015-09-14 08:56:42 -07:00
Timothy Stack
27bb9bb2ee [fmt] highlight identifiers in module formats 2015-07-19 02:40:02 -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
0bd9b29bea adjustments to the generic_log so the body is picked up correctly 2015-07-13 22:33:40 -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
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
Timothy Stack
cec3d0cb72 [generic_log] add time format that includes zone 2015-05-17 05:15:41 -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
cfa628f6c4 various fixes
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-11 21:18:55 -08:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -07:00
Timothy Stack
d557002724 [format] add OpenAM log formats 2014-06-17 21:29:42 -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
cbd8308b36 [cmd] use wordexp in the open command 2014-03-15 22:33:56 -07:00
Timothy Stack
8acba75862 [data-parser] fix test failure 2014-02-01 15:47:15 -08:00
Timothy Stack
5ef8a168a7 [perf] reduce copies of log messages 2014-02-01 06:41:11 -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
c59acba758 [format] initial support for json formats and some bug fixes 2013-09-10 06:20:37 -07:00
Timothy Stack
9b8ceb5cb0 [log formats] transfer more formats to config 2013-07-28 11:03:31 -07:00
Timothy Stack
f801470fa5 [log format] more log formats 2013-07-09 06:51:18 -07:00
Timothy Stack
fcb6ab2cd5 [nits] fix some nits 2013-06-30 21:19:31 -07:00
Timothy Stack
79c4038128 [log time] add a command to adjust log message times 2013-06-30 16:43:08 -07:00
Timothy Stack
2d33cb7f7e [log format] some more log format work 2013-06-29 11:00:34 -07:00
Timothy Stack
2cd356b4c5 [log format] some more work to externalize log formats; color identifiers in logs 2013-06-29 06:22:24 -07:00
Timothy Stack
def3de9e6b [log] log partitioning 2013-06-25 20:43:27 -07:00
Timothy Stack
f1087184d6 [log format] lay some foundation for making log formats configurable 2013-06-25 18:45:07 -07:00
Timothy Stack
8908e2569f [parser] fix some parser issues; and a fix for my last checkin 2013-06-23 06:11:37 -07:00
Timothy Stack
d72cab0c1e [log_format] the access_log format wasn't picking up the timestamp range correctly 2013-06-22 07:00:59 -07:00
Timothy Stack
df80972d5d [log format] generic prefix len 2013-06-18 06:12:36 -07:00
Timothy Stack
5a7d6dab2c [cleanup] uncrustify 2013-06-15 18:07:50 -07:00