lnav/test
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
2023-06-20 09:38:11 -07:00
..
bad-config/formats [docs] add a note that level regexes are not anchored 2023-05-06 10:29:38 -07:00
bad-config2/formats/invalid-config [console] colorize console output 2022-04-12 16:07:13 -07:00
bad-config-json/formats [console] colorize console output 2022-04-12 16:07:13 -07:00
expected [log_format] try to do a better job matching JSON formats to logs 2023-06-20 09:38:11 -07:00
formats [json_log] auto detect the required width for a column 2023-04-29 16:13:42 -07:00
log-samples [pcre2] migrate from pcre to pcre2 2022-09-10 09:28:07 -07:00
remote-log-dir [remote] a path is synced on an error 2021-05-20 15:48:05 -07:00
tui-captures [line_buffer] add some performance counters for tracking SQL perf 2022-07-27 21:49:14 -07:00
aftest.cc [modernize] some more cleanups 2022-03-31 08:59:33 -07:00
ansi-colors.0.in [textview] cleanup the ansi scrubber 2013-06-08 07:57:40 -07:00
books.xml [sql] add lnav_top_file() SQL function 2021-03-07 14:29:22 -08:00
CMakeLists.txt [anon] add an anonymizer to help with support requests 2022-09-15 21:11:30 -07:00
datafile_ipaddr.0 [docs] more docs and some simple bug fixes 2013-08-25 07:12:41 -07:00
datafile_simple.0 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.1 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.2 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.3 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.4 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.5 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.6 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.7 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.8 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.9 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.10 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.11 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.12 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.13 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.14 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.15 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.16 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.17 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.18 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.19 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.20 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
datafile_simple.21 [data_scanner] fix quoted string regex 2021-03-02 15:19:08 -08:00
datafile_simple.22 [data_scanner] hack to recognize some windows paths 2022-08-20 21:23:42 -07:00
datafile_simple.23 [anon] add an anonymizer to help with support requests 2022-09-15 21:11:30 -07:00
datafile_syslog.0 [data parser] hex dump values and add the uwsgi log format 2013-07-17 21:24:33 -07:00
datafile_syslog.1 [sqlite] Major improvements to the sqlite integration. 2013-05-24 07:55:56 -07:00
datafile_xml.0 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
dhcp-trunc.pcapng [pcap] initial pcap support 2021-11-05 15:13:16 -07:00
dhcp.pcapng [pcap] initial pcap support 2021-11-05 15:13:16 -07:00
document.sections.tests.cc [data_scanner] fix DT_H1 detection 2022-10-06 21:02:33 -07:00
drive_data_scanner.cc [log_format] try to do a better job matching JSON formats to logs 2023-06-20 09:38:11 -07:00
drive_grep_proc.cc [anon] add an anonymizer to help with support requests 2022-09-15 21:11:30 -07:00
drive_line_buffer.cc [modernize] some more cleanups 2022-03-31 08:59:33 -07:00
drive_listview.cc Use set_selection instead set_top in listview driver 2023-04-23 15:53:15 +02:00
drive_logfile.cc [w3c_log] handle an invalid log correctly 2022-06-04 15:31:48 -07:00
drive_mvwattrline.cc change en_US.utf-8 to en_US.UTF-8 2022-12-15 21:43:15 -08:00
drive_readline_curses.cc [init] fix handling of unknown TERM 2022-08-22 13:15:31 -07:00
drive_sequencer.cc [pcre2] migrate from pcre to pcre2 2022-09-10 09:28:07 -07:00
drive_shlexer.cc [pcre2] migrate from pcre to pcre2 2022-09-10 09:28:07 -07:00
drive_sql_anno.cc [clang-format] init 2022-03-16 15:38:08 -07:00
drive_sql.cc [console] colorize console output 2022-04-12 16:07:13 -07:00
drive_view_colors.cc [build] try to fix brew build error 2022-09-01 21:46:59 -07:00
drive_vt52_curses.cc change en_US.utf-8 to en_US.UTF-8 2022-12-15 21:43:15 -08:00
expected_help.txt Add hotkey binding for toggling the cursor mode 2022-11-01 21:33:47 +01:00
file_for_dot_read.sql [sqlite] implement .dump SQL command 2021-03-28 13:50:26 -07:00
gp_test.cc [clang-format] init 2022-03-16 15:38:08 -07:00
lb_test.cc [clang-format] init 2022-03-16 15:38:08 -07:00
listview_output_cursor.0 Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
listview_output_cursor.1 Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
listview_output_cursor.2 Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
listview_output_cursor.3 Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
listview_output_cursor.4 Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
listview_output_cursor.5 Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
listview_output_cursor.6 [view] add selection column to lnav_views 2023-06-13 10:47:49 -07:00
listview_output.0 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
listview_output.1 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
listview_output.2 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
listview_output.3 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
listview_output.4 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
listview_output.5 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
listview_output.6 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
lnav_doctests.cc [logfile] handle logs with ANSI escapes 2022-09-14 21:43:36 -07:00
log.clog [log-format] fix line-format where a variable can span lines 2016-08-23 06:34:18 -07:00
logfile_access_log.0 remove soci 2009-10-06 14:14:49 -07:00
logfile_access_log.1 [log_format] the access_log format wasn't picking up the timestamp range correctly 2013-06-22 07:00:59 -07:00
logfile_ansi.0 [pretty] handle ANSI escapes 2022-08-03 13:46:36 -07:00
logfile_ansi.1 [logfile] improve handling of ansi escapes 2022-09-19 20:15:35 -07:00
logfile_bad_access_log.0 [format] try to validate formats against a given file 2015-07-11 16:32:48 -07:00
logfile_bad_syslog.0 [format] try to validate formats against a given file 2015-07-11 16:32:48 -07:00
logfile_block.1 [regex101] add an integration with regex101 2022-04-30 13:06:01 -07:00
logfile_block.2 [remote] add some config options and remove the copied tailer binary 2021-05-19 22:05:21 -07:00
logfile_blued.0 [format] order the formats based on sample matches 2015-04-05 07:12:20 -07:00
logfile_bro_conn.log.0 [formats] support for CSV/TSV log formats 2017-04-23 07:11:21 -07:00
logfile_bro_http.log.0 [formats] support for CSV/TSV log formats 2017-04-23 07:11:21 -07:00
logfile_crlf.0 [line_buffer] fix crlf handling in log files 2018-10-12 07:46:18 -07:00
logfile_cxx.0 [pretty-print] check if lines are XML before indenting them as such 2018-04-02 13:25:07 -07:00
logfile_empty.0 first commit 2009-09-13 18:07:32 -07:00
logfile_epoch.0 [fmt] allow timestamp to be specified in the log format 2015-04-10 22:55:57 -07:00
logfile_epoch.1 [ptime] make sure the full time stamp is matched 2016-11-22 08:38:45 -08:00
logfile_filter.0 missing test file 2014-12-10 07:19:31 -08:00
logfile_for_join.0 [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -07:00
logfile_generic_with_header.0 [logfile] fix issue when files have headers 2019-05-17 07:42:05 -07:00
logfile_generic.0 add a test for change that fixes #110 2014-10-29 20:05:33 -07:00
logfile_generic.1 [generic_log] fix log levels for generic_log 2015-05-01 20:52:00 -07:00
logfile_generic.2 [generic_log] add time format that includes zone 2015-05-17 05:15:41 -07:00
logfile_generic.3 [time-fmt] add a time format 2021-07-13 10:40:24 -07:00
logfile_glog.0 [fmt] Fix glog_log format 2016-06-30 18:36:45 -07:00
logfile_haproxy.0 [format] allow multiple log format patterns per log file 2019-03-13 16:37:41 -07:00
logfile_invalid_json2.json [pcap] initial pcap support 2021-11-05 15:13:16 -07:00
logfile_invalid_json.json [json-log] some more fixes for handling invalid json logs 2019-10-19 07:11:47 -07:00
logfile_journald.json [json-log] handle invalid json log lines 2019-09-03 06:19:57 -07:00
logfile_json2.json [log-format] abbreviate long fields when formatting JSON logs 2016-08-22 06:45:27 -07:00
logfile_json3.json [json_log] auto detect the required width for a column 2023-04-29 16:13:42 -07:00
logfile_json_subsec.json [log_format] support for a separate sub-second field 2022-10-02 21:58:10 -07:00
logfile_json.json [text_filter] scrub ansi when testing a filter 2023-06-09 08:43:14 -07:00
logfile_leveltest.0 [loader] the loader was not converting the level name to the enum value correctly 2016-06-30 21:59:51 -07:00
logfile_logfmt.0 [formats] add logfmt 2021-10-02 23:17:33 -07:00
logfile_mixed_json2.json [json-log] change how lines that do not start with a curly are reported 2022-09-24 21:19:20 -07:00
logfile_multiline.0 [headless] report output from commands/queries that were executed 2014-03-02 16:52:18 -08:00
logfile_nested_json.json [json-log] handle arrays in json log message fields 2019-04-17 06:17:11 -07:00
logfile_openam.0 [format] add OpenAM log formats 2014-06-17 21:29:42 -07:00
logfile_plain.0 [text] add filtering support to the plain text view 2015-03-28 06:30:30 -07:00
logfile_pretty.0 [format] add more log levels and fix some more pretty-printer glitches 2015-04-10 19:50:05 -07:00
logfile_procstate.0 [perf] fixing slow queries 2022-07-01 16:02:14 -07:00
logfile_rollover.0 [time] fix time rollover for days 2016-05-03 06:43:00 -07:00
logfile_rollover.1 [log] do a full sort if there is a year rollover 2017-04-24 07:03:46 -07:00
logfile_strace_log.0 clean up some auto conf and add an strace test 2010-01-24 12:25:34 -08:00
logfile_syslog_fr.0 [locale] some tweaks for recognizing non-english logs 2018-08-21 21:43:32 -07:00
logfile_syslog_with_access_log.0 [format] use the module level for a message 2020-12-31 13:55:53 -08:00
logfile_syslog_with_header.0 [logfile] fix issue when files have headers 2019-05-17 07:42:05 -07:00
logfile_syslog_with_mixed_times.0 [cmd] add support for times in goto 2015-09-14 08:56:42 -07:00
logfile_syslog.0 first commit 2009-09-13 18:07:32 -07:00
logfile_syslog.1 first commit 2009-09-13 18:07:32 -07:00
logfile_syslog.2 Some more sequence matching stuff. 2011-06-05 19:05:46 -07:00
logfile_syslog.3 [search-table] add test case 2022-08-16 14:51:08 -07:00
logfile_tai64n.0 [time] add support for TAI64N timestamps 2016-04-02 20:58:20 -07:00
logfile_tcf.0 [format] add TCF file format and some fixes to make it work 2014-04-06 22:11:04 -07:00
logfile_tcf.1 [logfile] include microseconds when converting timestamps 2023-04-28 11:37:24 -07:00
logfile_tcsh_history.0 first commit 2009-09-13 18:07:32 -07:00
logfile_uwsgi.0 [pretty-print] allow formats to do transforms before pretty-printing 2016-12-05 16:34:30 -08:00
logfile_vami.0 [test] use doc ip range 2015-04-08 20:01:20 -07:00
logfile_vdsm.0 [vdsm_log] add new format 2014-11-10 08:56:35 -08:00
logfile_vmw_log.0 [sql] extract() assumed too much about elements 2022-09-01 14:33:51 -07:00
logfile_vpxd.0 [search-table] some more enhancements to search-tables 2022-07-05 21:46:12 -07:00
logfile_w3c_big.0 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_w3c.0 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_w3c.1 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_w3c.2 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_w3c.3 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_w3c.4 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_w3c.5 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_w3c.6 [formats] add w3c extended log format impl 2020-12-05 21:51:46 -08:00
logfile_with_a_really_long_name_to_test_a_bug_with_long_names.0 first commit 2009-09-13 18:07:32 -07:00
logfile_xml_msg.0 [xml/xpath] suggest xpath() calls for xml fields 2021-02-06 22:13:08 -08:00
Makefile.am Add test input files to Makefile 2023-04-25 21:38:53 +02:00
multiline.lnav [build] bump version to 0.7.3 since we will release soon 2015-04-08 02:26:25 -07:00
mvwattrline_output.0 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
nested.lnav [docs] add report generation to cookbook 2021-02-25 15:47:36 -08:00
parser_debugger.py [codacy] fix a few issues turned up 2019-07-11 14:59:54 -07:00
rltest.cc [clang-format] init 2022-03-16 15:38:08 -07:00
scripty.cc [console] colorize console output 2022-04-12 16:07:13 -07:00
si_test.cc [clang-format] init 2022-03-16 15:38:08 -07:00
slicer.cc [clang-format] init 2022-03-16 15:38:08 -07:00
sql.0.in [cleanup] start a tracer/debugger for the data parser 2013-06-08 06:10:18 -07:00
sql.0.out [cleanup] start a tracer/debugger for the data parser 2013-06-08 06:10:18 -07:00
test_abbrev.cc [clang-format] init 2022-03-16 15:38:08 -07:00
test_ansi_scrubber.cc [ansi] fix perf bug in eraser 2022-09-26 10:31:04 -07:00
test_auto_fd.cc [modernize] some more cleanups 2022-03-31 08:59:33 -07:00
test_auto_mem.cc [vtab] indexing improvements 2022-07-19 22:08:07 -07:00
test_bookmarks.cc [mark-expr] expression marks should count when showing elapsed time 2022-06-29 11:04:37 -07:00
test_cli.sh [line_buffer] fix some long-line handling 2022-09-04 06:38:39 -07:00
test_cmds.sh [goto] fix error reporting issue 2022-11-08 13:57:43 -08:00
test_column_namer.cc [perf] fixing slow queries 2022-07-01 16:02:14 -07:00
test_config.sh [log_format] perform more validations on log formats 2022-09-12 07:18:26 -07:00
test_curl.sh [curl] add a curl looper to handle url requests 2015-08-02 06:43:57 -07:00
test_data_parser.sh [pretty-print] first pass at a pretty-printer 2015-03-16 23:10:34 -07:00
test_date_time_scanner.cc [date-time-scanner] fix generating with a user-defined format 2022-04-04 09:14:57 -07:00
test_events.sh [logfile_sub_source] add log message watch expressions 2022-06-28 22:23:56 -07:00
test_format_installer.sh [tests] try to fix ci test failures 2021-08-29 08:46:10 -07:00
test_format_loader.sh [log_format] perform more validations on log formats 2022-09-12 07:18:26 -07:00
test_grep_proc2.cc [pcre2] migrate from pcre to pcre2 2022-09-10 09:28:07 -07:00
test_grep_proc.sh [pcre2] migrate from pcre to pcre2 2022-09-10 09:28:07 -07:00
test_json_format.sh [text_filter] scrub ansi when testing a filter 2023-06-09 08:43:14 -07:00
test_line_buffer2.cc [perf] try to overlap line buffer i/o 2022-07-07 10:05:06 -07:00
test_line_buffer.sh [test] get test working on OS X 2019-09-09 21:47:41 -07:00
test_listview.sh Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
test_log_accel.cc [clang-format] init 2022-03-16 15:38:08 -07:00
test_logfile.sh [text_filter] scrub ansi when testing a filter 2023-06-09 08:43:14 -07:00
test_md2attr_line.cc [md4c] initial markdown support 2022-05-22 20:44:18 -07:00
test_meta.sh [markdown] add support for going to an anchor 2022-08-28 18:55:32 -07:00
test_mvwattrline.sh [view_curses] add some tests for mvwattrline 2014-03-08 05:26:49 -08:00
test_ncurses_unicode.cc change en_US.utf-8 to en_US.UTF-8 2022-12-15 21:43:15 -08:00
test_pretty_print.sh [pretty] handle ANSI escapes 2022-08-03 13:46:36 -07:00
test_regex101.sh [regex101] add an integration with regex101 2022-04-30 13:06:01 -07:00
test_reltime.cc [pcre2] migrate from pcre to pcre2 2022-09-10 09:28:07 -07:00
test_remote.sh Update test_remote.sh 2021-08-30 06:21:22 -07:00
test_scripts.sh [cmds] add :redirect-to command for redirecting the output of commands in scripts 2018-10-12 07:12:35 -07:00
test_sessions.sh [session] support for :hide-file and some related fixes 2022-08-13 07:31:46 -07:00
test_shlexer.sh [test] comment out test for now 2022-04-30 14:59:20 -07:00
test_sql_anno.sh [exec] fix reporting of errors in scripts 2022-07-12 22:52:40 -07:00
test_sql_coll_func.sh [regex101] add an integration with regex101 2022-04-30 13:06:01 -07:00
test_sql_fs_func.sh [tests] disable test for now 2022-04-30 21:50:35 -07:00
test_sql_indexes.sh [tests] don't use syslog files since their timestamps are unreliable 2022-07-12 08:47:19 -07:00
test_sql_json_func.sh [sql/json] json_group_array() returns {} instead of [] 2022-09-16 13:02:52 -07:00
test_sql_regexp.sh [build] try to fix CI for test that uses a syslog logfile 2023-03-30 21:31:39 -07:00
test_sql_search_table.sh [build] try to fix CI for test that uses a syslog logfile 2023-03-30 21:31:39 -07:00
test_sql_str_func.sh [test_sql_str_func] disable url test that is dependent on the curl version 2023-04-03 00:40:04 -07:00
test_sql_time_func.sh [regex101] add an integration with regex101 2022-04-30 13:06:01 -07:00
test_sql_views_vtab.sh [markdown] add support for going to an anchor 2022-08-28 18:55:32 -07:00
test_sql_xml_func.sh [regex101] add an integration with regex101 2022-04-30 13:06:01 -07:00
test_sql_yaml_func.sh [test] tests should not rely on the local syslog being readable 2022-09-20 08:31:23 -07:00
test_sql.sh [view_curses] add a unit type to line_range 2022-09-03 08:49:47 -07:00
test_stubs.cc [fini] fix a destruction ordering issue 2022-09-21 18:54:45 -07:00
test_text_anonymizer.cc [port] more endianness stuff 2022-10-03 06:19:07 -07:00
test_text_file.sh [ansi] missed resizing a buffer when scrubbing ansi 2023-03-30 22:06:19 -07:00
test_top_status.cc [fini] fix a destruction ordering issue 2022-09-21 18:54:45 -07:00
test_tui.sh [view_curses] only write OSC;send-input in the test env 2021-08-15 14:47:55 -07:00
test_view_colors.sh [test] some cleanup for tests and other things 2012-06-05 13:18:59 -07:00
test_vt52_curses.sh [tests] try to make scripty output readable 2021-01-08 14:08:52 -08:00
textfile_0.md [logfile] plumb gzip header through file meta 2022-09-20 20:07:44 -07:00
textfile_ansi_expanding.0 [ansi] missed resizing a buffer when scrubbing ansi 2023-03-30 22:06:19 -07:00
textfile_ansi.0 [pretty] handle ANSI escapes 2022-08-03 13:46:36 -07:00
textfile_json_indented.0 [text] pretty-printing should work in the text view 2015-08-18 20:58:20 -07:00
textfile_json_one_line.0 [text] pretty-printing should work in the text view 2015-08-18 20:58:20 -07:00
textfile_quoted_json.0 [pretty] pretty-print the contents of strings 2015-08-26 21:28:30 -07:00
toplevel.lnav [docs] add report generation to cookbook 2021-02-25 15:47:36 -08:00
update_parser_output.sh [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07:00
UTF-8-test.txt [perf] improve initial indexing times 2018-10-17 07:03:33 -07:00
view_colors_output.0 [views] add a breadcrumb view 2022-05-10 21:58:32 -07:00
vt52_curses_input.0 [tests] add more CSIs to scripty 2021-02-05 16:04:34 -08:00
vt52_curses_input.1 first commit 2009-09-13 18:07:32 -07:00
vt52_curses_output.0 [input_dispatcher] fix handling of unicode input 2020-11-09 22:18:17 -08:00
vt52_curses_output.1 first commit 2009-09-13 18:07:32 -07:00
xpath_tui.0 [line_buffer] add some performance counters for tracking SQL perf 2022-07-27 21:49:14 -07:00