Commit Graph

39 Commits

Author SHA1 Message Date
Tim Stack 9eb734ef7e [log_format] support for a separate sub-second field 2022-10-02 21:58:10 -07:00
Tim Stack 07c57dae08 [json-log] change how lines that do not start with a curly are reported 2022-09-24 21:19:20 -07:00
Tim Stack a813482a54 [log_formats] JSON number time to local time zone
Fixes #1038
2022-09-02 23:06:03 -07:00
Timothy Stack a27198e8ca [regex101] add an integration with regex101
... and a pile of other changes
2022-04-30 13:06:01 -07:00
Timothy Stack 0785a432fa [console] colorize console output 2022-04-12 16:07:13 -07:00
Timothy Stack 8bb034eeeb [pcap] initial pcap support
Fixes #12
2021-11-05 15:13:16 -07:00
Timothy Stack 6e6487935a [test] fix broken path 2021-10-02 22:38:14 -07:00
Timothy Stack e13816a8e3 [cmds] change :write-raw-to to copy the original log content and add :write-view-to command
Also added log_raw_text column to the log tables.

Fixes #859
2021-05-14 13:31:19 -07:00
Timothy Stack 32f112b8de [formats] add w3c extended log format impl
Fiexes #798
2020-12-05 21:51:46 -08:00
Timothy Stack 138a506b1a [perf] a few performance tweaks 2020-04-23 06:42:48 -07:00
Timothy Stack e525d247ae [json-log] some more fixes for handling invalid json logs 2019-10-19 07:11:47 -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 c7046b0b54 [json] newlines in the line format cause problems
Fixes #644
2019-05-13 10:44:33 -07:00
Timothy Stack 6f451eec35 [pretty] fix crash when rewriting lines 2019-04-18 04:26:24 -07:00
Timothy Stack 5e8a1cebe9 [json-log] handle arrays in json log message fields
Fixes #635
2019-04-17 06:17:11 -07:00
Timothy Stack 659f01c9ae [filters] add a log_filters column to log tables that contains the matched filters
Related to #597
2019-02-14 22:42:44 -08:00
Timothy Stack e001b49e28 [format] hidden object/array fields add sub-lines when they should not
Fixes #576
2018-11-26 10:30:27 -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 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 dcf24f34ee use UTC for json log timezone 2018-08-21 11:33:39 -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
Timothy Stack 4ccae48aea [bookmarks] add support for tags and comments for log lines
Initial work for #446 and #447
  TODO: filtering on tags/comments

Also did a bunch of clang-tidy cleanups and improvements to
the online help.
2018-05-17 07:06:50 -07:00
Timothy Stack 867504b2b5 [build] try to fix some tests
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-23 15:57:24 -07:00
Timothy Stack df399a36a4 [docs] some more docs, command-help, and tests for #428 2017-04-06 23:05:20 -07:00
Timothy Stack d799cc227e some tweaks to these changes 2016-12-17 21:13:38 -08: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 4712bb6f76 update test for json logs with objects/arrays 2016-11-11 20:45:56 -08:00
Timothy Stack a59e0b290e [format] allow json log fields to be hidden
Fixes #303
2016-10-29 06:52:12 -07:00
Timothy Stack 5539e21c05 [log-format] fix line-format where a variable can span lines
Fixes #337
2016-08-23 06:34:18 -07:00
Timothy Stack c05dfafae8 [log-format] abbreviate long fields when formatting JSON logs
Fixes #340
2016-08-22 06:45:27 -07:00
Timothy Stack 9ee18c26d3 [log-format] add min-width and align options to line-format
Also some fixes for validating the format definitions.

Fixes #338
2016-08-21 21:34:52 -07:00
Timothy Stack 41854cf637 [json-log] custom date formats
Fixes #341
2016-08-18 22:15:35 -07:00
Timothy Stack afc8cc44b6 [json-format] support integer values for log levels in json formats 2016-03-27 15:14:52 -07:00
Timothy Stack 87b07a0087 [sql] allow log_part to be updated 2015-12-22 05:27:36 -08:00
Timothy Stack 021b7cb3aa [test] add a test for nested json log formats 2015-04-26 04:57:36 -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 12b81fe4e7 [format] fix full message read for json formats 2015-03-18 22:57:30 -07:00
Timothy Stack c347485834 [config] add more config directories to search 2014-03-02 22:26:41 -08:00