Commit Graph

109 Commits

Author SHA1 Message Date
Timothy Stack
00ebd10d71 [cmds] do a dry-run of a command to check for errors
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-02 07:17:31 -07:00
Timothy Stack
411ea1fbee [help] show help text for SQL functions
Defect Number:
    Reviewed By:
   Testing Done:
2017-03-31 07:01:11 -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
8776f6a703 [sql] do some minimal parsing/annotation of SQL statements
Defect Number:
    Reviewed By:
   Testing Done:
2017-03-26 06:02:53 -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
d12769cd70 minor doc fix 2017-02-24 06:47:56 -08:00
Timothy Stack
1a87184c82 [log] allow parts of log messages to be hidden
Fixes #412
2017-02-23 06:15:44 -08:00
Timothy Stack
34d1422b76 [highlight] only highlight keywords in text files
Fixes #408
2017-02-18 22:35:18 -08:00
Timothy Stack
0138d13297 [cmds] execute scripts from stdin/fds
Issues mentioned in #397
2016-12-23 11:37:23 -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
02bfd5846b [hotkey] the n/N keys will now move to the next cluster of search hits, up to a screenful
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-25 15:44:36 -08:00
Timothy Stack
95fe6f0d73 [hotkey] the n/N keys will now move to the next cluster of search hits, up to a screenful
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-24 23:27:54 -08:00
Timothy Stack
4de576fba7 [search] after a search has been entered, move to the first hit if one is found quickly
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-22 21:02:01 -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
b392886f0c [highlight] choose highlight color based on the regex
Defect Number:
    Reviewed By:
   Testing Done:
2016-10-25 06:42:05 -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
4a0d2c0be3 [documents] Fix the NEWS file. 2016-04-23 14:32:21 -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
96191badf3 [release] update versions for release and fix some time issues 2016-04-04 23:55:43 -07:00
Timothy Stack
4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
2016-04-02 20:58:20 -07:00
Timothy Stack
fc637ab6dc [doc] some more error rate explanation and other minor tweaks 2016-03-25 06:40:18 -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
80e5e8fcce [logview] add a line with summary information to the log view 2016-03-13 22:22:27 -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
Timothy Stack
53e2d92eef [ui] highlight out-of-time-order messages in yellow with an underline 2016-03-03 06:05:26 -08: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
87b07a0087 [sql] allow log_part to be updated 2015-12-22 05:27:36 -08:00
Timothy Stack
e07b4e448f [exec] add a prompt to execute lnav scripts 2015-12-18 22:39:27 -08:00
Timothy Stack
a368accf9f update for json changes 2015-12-09 21:29:17 -08:00
Timothy Stack
224a7196e4 [cmd] hide lines commands 2015-12-05 20:38:21 -08:00
Timothy Stack
7c92d16297 [sql] add an overlay showing the values in json columns 2015-12-03 05:30:01 -08:00
Timothy Stack
7489dd514c [sql] graph columns that contain json objects 2015-12-01 22:59:27 -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
4af60fe4ee include the required version of libcurl in the README/NEWS 2015-11-04 06:25:14 -08:00
Timothy Stack
f11cca2366 [sql] add a timeslice() function 2015-10-03 14:58:01 -07:00
Timothy Stack
99d103cd58 [logline] add a log_msg_instance column to the table 2015-10-02 21:24:52 -07:00
Timothy Stack
9c23431779 [all_logs] add a .msgformats SQL command 2015-09-20 21:03:51 -07:00
Timothy Stack
ec473edc85 [cmd] add support for times in goto 2015-09-14 08:56:42 -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