Commit Graph

274 Commits

Author SHA1 Message Date
Tim Stack f571feaedc Create CNAME 2021-06-11 22:21:49 -07:00
Timothy Stack b9a8ac7141 [docs] config tweaks 2021-06-11 22:09:39 -07:00
Timothy Stack de86f4cce0 [docs] set baseurl 2021-06-11 22:02:13 -07:00
Timothy Stack 1d6ac461ba [docs] start to migrate lnav.org 2021-06-11 21:57:16 -07:00
Timothy Stack 4b6fb5ff18 [release] change version to v0.10.0 since there's a lot of stuff and some nits 2021-06-10 23:01:05 -07:00
Timothy Stack b1adcdef36 [docs] add note about snap permissions 2021-06-08 21:37:13 -07:00
Timothy Stack b2d296b5d3 [open] handle file names with colons
Fixes #863
2021-06-07 16:04:41 -07:00
Timothy Stack d3d527d290 [tests] adding some more coverage 2021-06-02 21:09:50 -07:00
Timothy Stack ed93eb71c0 [remote] add some docs and allow ssh command customization 2021-06-01 22:57:32 -07:00
Timothy Stack 46bafa1dea [remote] show progress during startup 2021-05-27 22:02:26 -07:00
Timothy Stack be51a4e3de [arc/remote] use a single work directory for archive/remote files 2021-05-15 22:39:18 -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 d2b5690e0c [readline] improve filename completion 2021-05-13 19:50:04 -07:00
Timothy Stack 6ff3badc62 [docs] start a section on remote files 2021-05-04 15:50:26 -07:00
Nicolas Bock 97e8e6c87b
Fix schema reference
The schema should be `format` instead of `config`.

Signed-off-by: Nicolas Bock <nicolasbock@gmail.com>
2021-04-28 14:47:50 -06:00
Timothy Stack 3741985ee3 [format] allow leading slash in field names
Fixes #852
2021-04-16 14:47:47 -07:00
Timothy Stack f4c5f42e87 [docs] add some links to the Sessions section 2021-03-30 14:30:57 -07:00
Timothy Stack ef916a3fca [docs] ansi color table for themes 2021-03-30 14:12:09 -07:00
Timothy Stack 32bfd76cdb [logfile] allow max unrecognized lines to be tuned 2021-03-29 22:40:22 -07:00
Timothy Stack d45d7d6c58 [docs] add report generation to cookbook 2021-02-25 15:47:36 -08:00
Timothy Stack 4d2691fa99 [docs] flesh out envvars a bit 2021-02-16 23:17:32 -08:00
Timothy Stack 8fa4cef1b5 [docs] try to fix css_files error 2021-02-15 22:51:43 -08:00
Timothy Stack 864168ec7f [docs] set version of Sphinx 2021-02-15 22:38:26 -08:00
Timothy Stack f5c72736cb [docs] some more doc text 2021-02-14 22:44:14 -08:00
Timothy Stack 0f238f7972 [docs] add some more text to arch docs and other tweaks 2021-02-13 23:08:40 -08:00
Timothy Stack f5e88b7158 [docs] add ARCHITECTURE.md and various other things 2021-02-13 12:41:48 -08:00
Timothy Stack fa7f8cf3a7 [docs] some more cookbook text 2021-01-29 18:51:37 -08:00
Timothy Stack 2b9f4c6d3a [docs] start a cookbook 2021-01-24 21:49:06 -08:00
Timothy Stack b5af750256 [docs] some doc updates 2021-01-24 14:35:14 -08:00
Timothy Stack 099b32b393 [version] bump to 0.9.1 2021-01-24 13:16:28 -08:00
Timothy Stack 32f112b8de [formats] add w3c extended log format impl
Fiexes #798
2020-12-05 21:51:46 -08:00
Timothy Stack dbe252c70c [docs] some more doc stuff 2020-09-15 15:45:29 -07:00
Timothy Stack be106fcb8d [docs] add some more keymap/theme docs 2020-09-13 23:03:23 -07:00
Timothy Stack 9773efd3a5 [keymap] add german keymap 2020-09-12 14:06:23 -07:00
Timothy Stack f383af4d5f [build] try to fix RTD build 2020-09-09 22:54:05 -07:00
Timothy Stack f3d172c831 [keymap] add a french keymap 2020-09-09 22:16:06 -07:00
Timothy Stack 8734795505 [keymap] handle unicode keys and add UK keymap
Fixes #392
2020-09-04 14:39:04 -07:00
Timothy Stack 82b34bb02a [config] remove :save-config 2020-09-03 14:09:35 -07:00
Timothy Stack d6e1fd1f32 [release] change version to 0.9.0 2020-09-01 22:36:47 -07:00
Timothy Stack e451c7c112 [docs] more usage notes
Defect Number:
    Reviewed By:
   Testing Done:
2020-08-24 22:50:48 -07:00
Timothy Stack ae08c12aa0 [docs] some updates 2020-07-02 15:04:44 -07:00
Timothy Stack d2b9d1cd1c [docs] fix overflow in log formats section 2020-05-22 21:32:49 -07:00
Timothy Stack 7a0cb4359c [docs] fix lexing of lnav commands 2020-05-18 22:21:24 -07:00
Timothy Stack 9c3f0eee89 [build] fix cmake build and lexing of sqlite in docs
Defect Number:
    Reviewed By:
   Testing Done:
2020-05-18 07:10:07 -07:00
Timothy Stack e85fff0b88 [sql] add json_concat() function and misc fixes 2020-05-17 22:23:30 -07:00
Timothy Stack 468a5ea5d2 [docs] fix json-ptr ref 2020-05-15 11:02:46 -07:00
Timothy Stack e3ac0e5825 [build] missing doc package 2020-05-15 10:41:09 -07:00
Timothy Stack adb18eeea3 [build] try to fix doc build 2020-05-15 10:38:28 -07:00
Timothy Stack 9cbe4d73a9 [docs] start to flesh out command and sql docs 2020-05-15 07:38:40 -07:00
Timothy Stack defb00303f [docs] some changes 2020-05-13 09:38:41 -07:00
Timothy Stack 8413dd13d8 [config] add configs directory 2020-05-07 07:08:59 -07:00
Timothy Stack 3da3ec799a [session] allow the name 2020-04-25 07:32:05 -07:00
Timothy Stack 0744a9b6de [docs] mention the view tables
Defect Number:
    Reviewed By:
   Testing Done:
2020-04-21 21:04:03 -07:00
Timothy Stack d5373abeb4 [sql] bind $LINES/$COLS variables to the size of the window
Fixes #698
2020-04-21 06:20:25 -07:00
Timothy Stack 441833ac23 [build] bump version numbers 2020-04-20 22:50:57 -07:00
Timothy Stack cd3b9bbb71 [docs] start a CLI options page 2019-08-20 07:21:41 -07:00
Timothy Stack e442f84e80 [textview] pause loading of files by pressing =
Fixes #670
2019-07-30 06:28:42 -07:00
Timothy Stack 06d1098211 [config] initial support for themes
For #422

Still more to do
2019-05-03 13:50:19 -07:00
Timothy Stack c4b950e4d9 bump version to v0.8.5-rc1 2019-03-15 22:13:18 -07:00
Timothy Stack 469124d72b [time-offset] fixes
Defect Number:
    Reviewed By:
   Testing Done:
2019-03-12 07:06:31 -07:00
Timothy Stack 4a7d116f37 [docs] expand the collate format field a little more 2019-02-06 22:40:07 -08:00
Timothy Stack 153b59ea8a [status] some fixes for the bottom status bar
Fixes #603
Fixes #578
2019-02-05 07:30:57 -08:00
Timothy Stack 3d77fb2acf [cmds] change :write-raw-to to write all the lines in the view
Fixes #606
2019-01-29 07:30:37 -08:00
Timothy Stack 31c440777f [hotkeys] add ctrl+f to toggle filters
Fixes #604
2019-01-27 08:05:44 -08:00
Timothy Stack 0c2f84a3c0 [hotkeys] press 7/8 for previous/next minute
Fixes #382
2019-01-25 07:45:17 -08:00
Timothy Stack 814ad03ec9 [view] keep a history of view positions
Fixes #577
2018-12-14 06:18:56 -08:00
Timothy Stack 5c6cc5fe2a [readline] pressing escape should exit the command prompt
Fixes #316
2018-11-15 06:43:28 -08:00
Timothy Stack aa0bfd6c62 [sql] add a spooky_hash() function
Fixes #567
2018-11-13 20:55:04 -08:00
Timothy Stack ec82ecda62 [filter] display the number of filters 2018-11-10 22:55:08 -08:00
Timothy Stack 2345a32423 [filter] add panel that shows the set of filters
Initial version, still needs some cleanup
2018-11-09 09:45:19 -08:00
Timothy Stack ac7ae1275a [cmds] add :redirect-to command for redirecting the output of commands in scripts
Related to #551
2018-10-12 07:12:35 -07:00
Timothy Stack db6c619e4e [keymap] support for /dev/clipboard in :write commands
The copy hotkey is now implemented in the keymap and the
':write-*' commands were enhanced to recognize /dev/clipboard
as a special file name for writing to the system clipboard.
2018-09-30 09:49:23 -07:00
Timothy Stack def35d1ae7 [release] version bump to v0.8.4
Defect Number:
    Reviewed By:
   Testing Done:
2018-08-27 07:23:13 -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 bc8e51914a [hotkey] the "P" hotkey was not toggling the view
Fixes #522
2018-06-07 06:26:07 -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 ef34a6aaaf [search] display lines matching the search in preview instead of jumping to the first
Jumping around can be disruptive, instead show matches in
the preview window.
2018-03-28 07:25:10 -07:00
Timothy Stack 8257f188cb [hotkeys] change the filename hotkey to left/right arrow 2018-03-27 22:11:57 -07:00
Adam Spiers 9ffbc1ac46 make '.' toggle prefixing each log line with filename
Mostly addresses #277.  I won't claim it fully closes it, because there
are at least two ways it could be improved:

1. It doesn't draw a nice coloured divider in the column after the
   filename, and that would provide maximum visual clarity and
   consistency with the existing presentation.

2. It would be nice if the filenames weren't shown on every single line,
   but only on the first line of a contiguous chunk of log lines from a
   single file (or on the top line of the screen if the first line of
   the chunk was already scrolled off the top).

3. It doesn't yet include the filename in the text copied to the
   clipboard when the 'c' hotkey is pressed.
2018-03-27 16:07:56 -07:00
Timothy Stack 4694cabd05 update year 2018-03-23 06:45:09 -07:00
Timothy Stack 74f24fcf4c bump version numbers 2018-01-23 20:17:38 -08:00
Timothy Stack 74b58ed9fc [highlights] allow the highlight color to be specified in log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-12-29 06:51:09 -08:00
Suresh Sundriyal 150252e578 [command] Add a ':quit' command.
Add a ':quit' command and add ':q' as the alias for the
quit command.

Closes #470
2017-10-17 21:36:58 -07:00
Kevin Pham 91b1e96263 update document with default-colors config option 2017-09-15 11:06:21 -07:00
Timothy Stack 371e79ff3d [log_format] allow external logs to specify that they are not time-ordered 2017-04-25 05:58:10 -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 fea3cb83d9 [sql] preview table definition
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-09 01:57:19 -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 2f44f1e861 [ptime] add %N time format for nanoseconds 2017-04-05 10:19:47 -07:00
Timothy Stack 78119dc9f1 fixing some minor issues
Fixes #255
2017-04-05 07:05:19 -07:00
Timothy Stack 6fcfd35395 [sql] add "search" column to the lnav_views table
Fixes #388
2017-03-26 07:28:08 -07:00
Timothy Stack c0684a97cc [sql] add a regexp_capture tablue-valued function
Fixup the release makefile a bit.
2017-03-15 17:01:58 -07:00
Timothy Stack c180c44e49 [vtab] add an lnav_view_stack table to get programmatic access to the view stack
More progress towards #377
2017-03-04 15:22:19 -08:00
Timothy Stack 1a87184c82 [log] allow parts of log messages to be hidden
Fixes #412
2017-02-23 06:15:44 -08:00
Adam Spiers d93178f879 fix 'conifg' typo 2016-12-19 16:01:37 +00: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
Victor Hooi ae42f97ba0 Add Ctrl-W display shortcut for word-wrap.
This is mentioned in the lnav 0.6.2 release notes:

http://lnav.org/blog/2013/11/10/word-wrap-support-in-v062

But doesn't appear to be mentioned elsewhere.
2016-11-07 17:39:02 +11:00
Timothy Stack a59e0b290e [format] allow json log fields to be hidden
Fixes #303
2016-10-29 06:52:12 -07:00
Timothy Stack 876b37ade0 [log-format] add "truncate" overflow value 2016-08-22 23:28:14 -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 82f970c09e [config] add a config option to control A_DIM for text
Fixes #298
2016-05-01 20:35:37 -07:00
Suresh Sundriyal e4ef35e652 [commands] Remove eval from the list of sandboxed commands. 2016-04-23 11:18:01 -07:00
Suresh Sundriyal 88833c8035 [commands] Read and honor the 'LNAVSECURE' environment variable.
Read the value of the 'LNAVSECURE' environment variable upfront and
store it in the lnav_data structure. When this variable is set prior to
the binary execution, the following commands are disabled:

* 'open'
* 'pipe-to'
* 'pipe-line-to'
* 'write-*-to'

This is a proposed fix for tstack/lnav#305.
2016-04-23 10:34:17 -07:00
Timothy Stack efc74a5a0e [docs] some minor doc updates 2016-04-05 06:22:25 -07:00
Timothy Stack fdc2748e3e [spectro] add a spectrogram view that works with known message fields 2016-03-20 15:15:50 -07:00
Timothy Stack 2d04d047e4 [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 2016-03-10 06:03:32 -08:00
Timothy Stack d4a69cbf22 no joy
Revert "[sql] change extract() to regexp_match() and make extract() an interface to the data_parser"

This reverts commit 85eee6514b.
2016-03-09 23:30:34 -08:00
Timothy Stack 85eee6514b [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 2016-03-09 23:14:54 -08:00
Timothy Stack 9feb53f02a [sql] add extract() function to extract values from a string using a regex
This function should be preferred over creating log search tables
for scripts.
2016-03-08 06:48:43 -08:00
Geoff Crompton 8e152fe4f0 Start a Sessions section in hotkeys documentation, mentioning Ctrl+R. 2016-02-25 09:54:01 +11:00
Timothy Stack a2b381ca19 [config] initial impl with clock-format as the only option at the moment 2016-01-05 06:18:58 -08:00
Timothy Stack e5f786bc2c [script] add metadata to script files 2015-12-28 20:30:04 -08:00
Timothy Stack e07b4e448f [exec] add a prompt to execute lnav scripts 2015-12-18 22:39:27 -08:00
Timothy Stack 7386ea3864 update docs for json functions in sql 2015-12-11 02:27:46 -08:00
Timothy Stack 224a7196e4 [cmd] hide lines commands 2015-12-05 20:38:21 -08:00
Timothy Stack 47230920a1 update docs for opid 2015-12-04 19:33:23 -08:00
Timothy Stack 62075fb340 [sql] add json_group_object aggregate function 2015-11-29 19:56:10 -08:00
Timothy Stack 64cbab1281 [sql] exec .sql files in format dirs 2015-11-26 22:19:53 -08:00
Timothy Stack 91406be91e [nav] add "opid" support with a hotkey 2015-11-24 20:59:24 -08:00
Timothy Stack f11cca2366 [sql] add a timeslice() function 2015-10-03 14:58:01 -07:00
Timothy Stack bf73660747 bump version to 0.8.0 2015-09-25 06:40:17 -07:00
Timothy Stack ec473edc85 [cmd] add support for times in goto 2015-09-14 08:56:42 -07:00
Timothy Stack 7407fd429d user alerter instead of flash() 2015-09-06 22:51:58 -07:00
Timothy Stack e95bd90dfc [filter] check for too many filters being created 2015-08-24 22:09:33 -07:00
Timothy Stack 0d37a8c142 [text] pretty-printing should work in the text view 2015-08-18 20:58:20 -07:00
Timothy Stack bedae8c8c2 [fmt] install/update formats from git repos
Fixes #244
2015-08-09 21:03:23 -07:00
Timothy Stack 2b5447f59c [sql] add a log_search table 2015-08-05 23:18:19 -07:00
Timothy Stack d2d8c75135 [sql] add an lnav_views table 2015-07-22 07:09:51 -07:00
Timothy Stack 010131aaba [docs] update the docs for recent changes 2015-07-19 21:38:37 -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 e07f3f5b24 [docs] update docs for horizontal move change 2015-05-12 06:37:41 -07:00
Suresh Sundriyal d6b32d60be [lo-fi shortcut] Change shortcut to 'Ctrl-l'.
* Change the 'lo-fi' shortcut to 'Ctrl-l'
* Remove the shortcut for 'redraw'
2015-05-08 22:31:56 -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 8a91c96bed [build] bump version to 0.7.3 since we will release soon 2015-04-08 02:26:25 -07:00
Timothy Stack a300ce9977 [format] order the formats based on sample matches 2015-04-05 07:12:20 -07:00
Timothy Stack 38e56b63ea [hist] fix the histogram when filters change 2015-04-04 13:36:53 -07:00
Timothy Stack 033c861028 [cmd] next/prev-mark commands 2015-03-29 14:50:34 -07:00
Timothy Stack 282e70445e [pretty] reformat all displayed lines instead of just the top one
Fixes #150
2015-03-26 06:13:25 -07:00
Timothy Stack 8fb15e455a [cmd] add a relative-goto command 2015-03-24 23:07:47 -07:00
Timothy Stack aea0bd54e0 [cmd] add a :redraw command to do a full redraw of the window
Fixes #18
2015-03-19 20:43:22 -07:00
Timothy Stack c670a86d04 [pretty-print] first pass at a pretty-printer
Defect Number:
    Reviewed By:
   Testing Done:
2015-03-16 23:10:34 -07:00
Timothy Stack 1d3481c3fa [cmd] add pipe-to and pipe-line-to commands 2015-03-16 09:16:49 -07:00
Timothy Stack 363547428c [version] some more version updates 2015-02-26 21:52:36 -08:00
Timothy Stack 7dd372e305 fix hotkey listing 2014-11-11 08:55:40 -08:00
Timothy Stack 17db6e38fe add a lo-fi mode
Fixes #113
2014-11-11 08:44:44 -08:00
Timothy Stack deeac1a5db [formats] add a "-i" flag to make it easier to install formats 2014-11-05 09:01:09 -08:00
Timothy Stack 45f18bd89c bump version, add some logging, and minor stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 20:02:22 -08:00