Commit Graph

133 Commits (e3f4330377f4e6a6f877680ac5d3c538cddffc4e)

Author SHA1 Message Date
Tim Stack 7bf42e7d2f [json-logs] automatically remove trailing line feeds
Fixes #969
1 year ago
Tim Stack d5f19bc7f8 [tests] missing expected output 1 year ago
Tim Stack 29837caf52 [log_format] fix hiding/showing JSON fields not in the line-format
Related to #1081
1 year ago
Tim Stack c49d83395b [formats] add cloudflare format
Related to #1081
1 year ago
Tim Stack 8118c5dbe4 [sections] fix some issues with doc sections in logs 1 year ago
Tim Stack c8764da9d2 [bunyan] add test for this format and add "src" field
Related to #1136
1 year ago
Tim Stack 1c8c7089cb [log_format] try to do a better job matching JSON formats to logs
Try all formats and find the one with the highest quality
match.  For JSON logs, this means the format that matched
the most fields in the line-format.

Related to #1136
1 year ago
Tim Stack f096824034 [build] general actions improvements 1 year ago
Tim Stack dd21bdfd82 [text_filter] scrub ansi when testing a filter
Related to #1163
1 year ago
Tim Stack a324bc8c1c [docs] add a note that level regexes are not anchored
Related to #1153
1 year ago
Tim Stack 822eaf5a1a [json_log] auto detect the required width for a column
Related to #1146
1 year ago
Tim Stack f2a0c8f21c [logfile] include microseconds when converting timestamps
Mentioned in #1145

Also, fix the field hiding issue mentioned in #1146
1 year ago
Tim Stack 44b564681b [format_loader] catch invalid format names
Fixes #1122
2 years ago
Tim Stack 70dee8a747 [ci] try to fix some test failures 2 years ago
Tim Stack db1fc92fdd [ansi] missed resizing a buffer when scrubbing ansi
Fixes #1135
2 years ago
Tim Stack f34a5cf589 [docs] update docs for half page hotkeys 2 years ago
Tim Stack fe50ba8f9b change en_US.utf-8 to en_US.UTF-8
related to #1089
2 years ago
Tim Stack 12d70f9996 [config] add missing enum terminator
the terminator is needed in the enum_value_t array

(I should really make it a real container...)
2 years ago
Tim Stack 554918b96c [goto] fix error reporting issue
Fixes #1078
2 years ago
Tim Stack faeaf477ab [yajlpp] flesh things out a bit more 2 years ago
Tim Stack 9eb734ef7e [log_format] support for a separate sub-second field 2 years ago
Tim Stack 07c57dae08 [json-log] change how lines that do not start with a curly are reported 2 years ago
Tim Stack 094b45f7ca [nits] minor fixes 2 years ago
Tim Stack 0fd9845580 [tests] test_tailer tweaks 2 years ago
Tim Stack fd19759bf5 [tests] set TZ when doing touch 2 years ago
Tim Stack 93a53c4224 [fini] fix a destruction ordering issue 2 years ago
Tim Stack d940d9d5eb [logfile] plumb gzip header through file meta 2 years ago
Tim Stack 3f3e6dcbdc [highlight] turn off nesting for var highlight 2 years ago
Tim Stack a437d9fcc9 [pcre2pp] allocate match_data on the stack 2 years ago
Tim Stack b7de0766c8 [highlighters] add some keywords 2 years ago
Tim Stack f1deeb5b74 [highlight] turn off nesting for some builtin highlighters 2 years ago
Tim Stack e0ecbdff10 [logfile] improve handling of ansi escapes
I think this covers the rest of the functionality
that needs to deal with ansi escapes.

Related to #1057
2 years ago
Tim Stack d79c1f9235 [regex101] accept pcre2 imports 2 years ago
Tim Stack 6016219d57 [tests] missed updating test output 2 years ago
Tim Stack c49e0787f3 [release] bump version and try to automate some stuff 2 years ago
Tim Stack 1effd99e5c [sql] add parse_url()/unparse_url() functions
Fixes #44
2 years ago
Tim Stack b536043050 [sql/json] json_group_array() returns {} instead of [] 2 years ago
Tim Stack eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
2 years ago
Tim Stack eaa6e50a52 [log_format] perform more validations on log formats 2 years ago
Tim Stack af5213a98a [log_formats] change "no patterns have a capture" error to a warning 2 years ago
Tim Stack 5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2 years ago
Tim Stack 6ca01cd934 [line_buffer] fix some long-line handling 2 years ago
Tim Stack 7309352c97 [view_curses] add a unit type to line_range
Fixes #1033
2 years ago
Tim Stack a813482a54 [log_formats] JSON number time to local time zone
Fixes #1038
2 years ago
Tim Stack e047386441 [sql] extract() assumed too much about elements 2 years ago
Tim Stack c9ec288853 [regexp_vtab] hex floats were being passed through to json, which does not support hex floats
It looks like sscanf("%f") was accepting hex-floats. So, lnav
was passing that through to the JSON, which does not like hex
floats.

FYI, @trantor, this should fix the regexp_capture_into_json()
issue of hex numbers being passed through.
2 years ago
Tim Stack 72d171ae4b [tests] add a regexp_capture() test 2 years ago
Tim Stack b5cb38d454 [user_notifications] treat message as markdown 2 years ago
Tim Stack 87791ec94b [markdown] add support for going to an anchor 2 years ago
Tim Stack 5751fe89c4 [markdown] recognize more code fence langs 2 years ago