Timothy Stack
2d04d047e4
[sql] change extract() to regexp_match() and make extract() an interface to the data_parser
9 years ago
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
.
9 years ago
Timothy Stack
85eee6514b
[sql] change extract() to regexp_match() and make extract() an interface to the data_parser
9 years ago
Timothy Stack
9213a6b58b
[out-of-order] some more tweaks for out-of-order
9 years ago
Timothy Stack
cdd43549ab
[cmds] automatically capture echo/write output from scripts so they can generate reports
...
Add another example script, dhclient-summary.
Add a 'search-table' section to formats so you can automatically
define a search-based table.
9 years ago
Timothy Stack
3ef38c1250
missed some checks for an empty view stack
9 years ago
Justin Berger
2aa26082f8
Added O_TRUNC flag so new format installation doesn't result in trailing garbage message
9 years ago
Timothy Stack
a2b381ca19
[config] initial impl with clock-format as the only option at the moment
9 years ago
Timothy Stack
ab62d27757
[cmd] replace wordexp with shlex
9 years ago
Timothy Stack
16e988d132
[shlex] add a readline highlighter for shlex
9 years ago
Timothy Stack
6e196bff79
[line_buffer] clear cached data when doing a read
9 years ago
Timothy Stack
e07b4e448f
[exec] add a prompt to execute lnav scripts
9 years ago
Timothy Stack
187d62334f
[json] record the type of json data in json_ptr_walk
9 years ago
Timothy Stack
e987a5164f
[hist] rewrite the histogram code
9 years ago
Timothy Stack
d1bbc433b7
[view] start to refactor the bar chart code
9 years ago
Timothy Stack
4eb797ce9a
[hist] start to replace the old hist_source class
9 years ago
Timothy Stack
64cbab1281
[sql] exec .sql files in format dirs
9 years ago
Timothy Stack
3c9ba126a9
[glob] ignore files picked up by a glob that are not readable
9 years ago
Timothy Stack
ff929391f3
need to fflush(stdout) to get the mouse working again
9 years ago
Timothy Stack
0237aaad21
[release] update the release Makefile
9 years ago
Timothy Stack
9c23431779
[all_logs] add a .msgformats SQL command
9 years ago
Timothy Stack
ecd3eb05bc
[coverity] next set of fixes
9 years ago
Timothy Stack
3c0d78d28e
[sql] fix spurious loading bar flash while searching
9 years ago
Timothy Stack
0d37a8c142
[text] pretty-printing should work in the text view
9 years ago
Timothy Stack
b4cb092ce1
[view] stop scrolling to the right when the end is reached
...
Fixes #84
9 years ago
Timothy Stack
bedae8c8c2
[fmt] install/update formats from git repos
...
Fixes #244
9 years ago
Timothy Stack
2b5447f59c
[sql] add a log_search table
9 years ago
Timothy Stack
83b92c3b65
[papertrail] add support for time ranges
9 years ago
Timothy Stack
cc5e70fb30
[cmd] add help to the command prompt
9 years ago
Timothy Stack
e9a96caf09
[papertrail] use the curl_looper
9 years ago
Timothy Stack
f286950854
[curl] add a curl looper to handle url requests
9 years ago
Timothy Stack
fa89ecc5e5
redo the search in the pretty view
...
Fixes #245
9 years ago
Timothy Stack
d2d8c75135
[sql] add an lnav_views table
9 years ago
Timothy Stack
9496a960f6
[check] print the partial match of non-matching lines when checking a log file
9 years ago
Timothy Stack
5e77e9f256
[readline] try a different behavior when tab-completing quoted stuff in the SQL context
9 years ago
Timothy Stack
3f4e11a693
[fmt] first pass at supporting sub-formats (called module formats)
9 years ago
Timothy Stack
a8bf7e39b0
log the version of libcurl
9 years ago
Timothy Stack
5ef60412db
[pt] pass search query to papertrail
9 years ago
Timothy Stack
7ef92dab79
[format] try to validate formats against a given file
9 years ago
Timothy Stack
f1dd99328d
[lnav.cc] move more stuff out of lnav.cc
9 years ago
Timothy Stack
6b971ccd66
move stuff out of lnav.cc
...
Defect Number:
Reviewed By:
Testing Done:
9 years ago
Timothy Stack
879bbd581e
[pt] rough draft of tail for papertrail
9 years ago
Suresh Sundriyal
b4f2c1683a
[coverity] Avoid a buffer-overrun.
...
'escape_index' is ensured to be less than 'sizeof(escape_buffer)-1'.
This guarantees enough space for one more character in the
escape_buffer. However, if we meet this condition, we go ahead and shove
a character and a null-terminator in to the string, potentially leading
to a buffer overrun.
9 years ago
Timothy Stack
054e8d489b
[data-scanner] convert to using re2c
9 years ago
Timothy Stack
504b5747fe
[sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes
9 years ago
Timothy Stack
04f8ceadab
[file-marker] some more cleanup
10 years ago
Suresh Sundriyal
d6b32d60be
[lo-fi shortcut] Change shortcut to 'Ctrl-l'.
...
* Change the 'lo-fi' shortcut to 'Ctrl-l'
* Remove the shortcut for 'redraw'
10 years ago
Timothy Stack
1d0233bbfa
[json-format] support for full paths
10 years ago
Timothy Stack
ae64b599bd
[format] add more log levels and fix some more pretty-printer glitches
...
Fixes #212
10 years ago
Suresh Sundriyal
13337a75a5
[coverity] buffer overrun.
10 years ago
Timothy Stack
a50ec2eb42
update usage
10 years ago
Timothy Stack
8d421d0cd4
do not dump stdin if -q is specified
10 years ago
Timothy Stack
e1874c0278
use poll instead of select so we can handle more than FD_SETSIZE files
10 years ago
Timothy Stack
0b232a7588
[headless] multiline support for command files
10 years ago
Timothy Stack
2dfae4f7f9
[pretty] add some more tests and leave leading spaces alone in some cases
10 years ago
Suresh Sundriyal
1de2a30560
[wsign-compare] FreeBSD builds fail while comparing int with FD_SETSIZE.
10 years ago
Timothy Stack
d6d652ec38
various tweaks
10 years ago
Suresh Sundriyal
0c979afc09
[build] Add the git cln to the lnav version.
10 years ago
Timothy Stack
c58f44bb3f
[headless] completely read stdin in headless mode before running commands
10 years ago
Timothy Stack
32e96e6395
[pipe-to] fix some issues when running pipe in headless mode
10 years ago
Timothy Stack
7b8bc67cc9
[pretty] drop extra new lines
10 years ago
Timothy Stack
38e56b63ea
[hist] fix the histogram when filters change
10 years ago
Tim Stack
1a204c6915
remove leftover test code
10 years ago
Timothy Stack
408c690192
[log] some more logging cleanup
10 years ago
Timothy Stack
f0f819b119
[log] dump more state on a crash
10 years ago
Suresh Sundriyal
19e6303fac
[-Wsign-compare] lnav.cc
10 years ago
Suresh Sundriyal
a21c172d8e
[Coverity] Fix a forward null.
10 years ago
Timothy Stack
7efedcdafc
[lint] remove unnecessary null checks
10 years ago
Timothy Stack
e71985a951
need to check the view stack in rebuild_indexes()
10 years ago
Timothy Stack
033c861028
[cmd] next/prev-mark commands
10 years ago
Suresh Sundriyal
c386814850
[Coverity] Printf arg type mismatch.
10 years ago
Timothy Stack
44d2e12403
[text] add filtering support to the plain text view
...
Fixes #149 #148
10 years ago
Timothy Stack
282e70445e
[pretty] reformat all displayed lines instead of just the top one
...
Fixes #150
10 years ago
Timothy Stack
219a4baad1
[ui] lower the index rebuild frequency when the command line is active
10 years ago
Timothy Stack
42521ef337
[hist] the wrong view could be used when switching from hist to log
10 years ago
Timothy Stack
cf462cecde
[hist] need to rebuild the histogram if files are closed
10 years ago
Timothy Stack
aea0bd54e0
[cmd] add a :redraw command to do a full redraw of the window
...
Fixes #18
10 years ago
Timothy Stack
dc79bd3bf5
[nav] reset where shift+j/k set bookmarks after scrolling
...
Fixes #13
10 years ago
Timothy Stack
c670a86d04
[pretty-print] first pass at a pretty-printer
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
1d3481c3fa
[cmd] add pipe-to and pipe-line-to commands
10 years ago
Timothy Stack
64df915a5a
[piper] fix some ownership issues with the piper fd
10 years ago
Timothy Stack
6a90dd9bc2
copy search terms to OS-Xs find clipboard
...
Fixes #108
10 years ago
Timothy Stack
cfa628f6c4
various fixes
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
62f4c9e59e
[build] another missing define
10 years ago
Timothy Stack
17db6e38fe
add a lo-fi mode
...
Fixes #113
10 years ago
Timothy Stack
82ada5103a
fix an uninitialized var
10 years ago
Timothy Stack
80cbe192cb
[filter] fix a filtering bug during tailing
10 years ago
Timothy Stack
671dca60dc
[cmd] do not error out if filter exists, just enable it
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
deeac1a5db
[formats] add a "-i" flag to make it easier to install formats
10 years ago
Timothy Stack
45f18bd89c
bump version, add some logging, and minor stuff
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
cd953a548c
[filter] update the UI during filtering again
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
c5f5ee5624
remove dead strace table code
10 years ago
Timothy Stack
35defc0ede
fix for delete detection
10 years ago
Timothy Stack
0859f69c9f
try to fix a crash related to deleted files
10 years ago
Timothy Stack
74b49e6f28
[cmd] add tab-completion for text in the view when filtering
...
Defect Number: fixes #92
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
d4bea593b7
[perf] optimize json log loading
10 years ago
Timothy Stack
a71ca1f1ca
[filter] some improvements to the core filtering code
10 years ago
Timothy Stack
ccf29b3bac
[coverity] some cleanup and add the chunky_index
10 years ago
Timothy Stack
d557002724
[format] add OpenAM log formats
10 years ago
Timothy Stack
353dfec878
[sql] add an environ virtual table
...
Defect Number:
Reviewed By:
Testing Done:
11 years ago
Timothy Stack
1974e1f1ae
[jsonptr] initial impl
11 years ago
Timothy Stack
bf706a136c
[cmd] remember closed files
...
Fixes #96
11 years ago
Timothy Stack
87223ed110
[sql] install a sqlite log handler
...
Fixes #86
11 years ago
Timothy Stack
a011e02ce2
[textview] clear bookmarks fix
...
Fixes #100
11 years ago
Timothy Stack
f37ec555bf
[logfile] check for truncated files
11 years ago
Timothy Stack
1b60e49d0b
[readline] add environment variable completions to the SQL view
11 years ago
Timothy Stack
6d6c0f9e55
[nits] some nits noticed after the release
...
Defect Number:
Reviewed By:
Testing Done:
11 years ago
Timothy Stack
8372cef11c
[date] code generator for strptime formats
11 years ago
Timothy Stack
4ce9a1e871
[elapsed-time] add a visual indicator for sharp changes in message rate
11 years ago
Timothy Stack
d17f7b1940
[cmd] add set-min-log-level command
...
Part of #82
11 years ago
Timothy Stack
b988708431
[session] remove session flag CLI option in favor of commands
...
Too many CLI flags make things confusing and this one didn't add
anything, so I'm making it a command instead.
11 years ago
Timothy Stack
bd0ff97415
[help] always turn on word-wrap
...
Turn on word-wrap in the help view to disable
horizontal scrolling.
11 years ago
Timothy Stack
9ff2d3774d
[line_buffer] split long lines
...
Fixes #81
11 years ago
Timothy Stack
3e6e3566d7
[cmd] rescan/reload after executing each init cmd
11 years ago
Timothy Stack
7b971cb40f
[cmd] show the result of executing the 'close' command when pressing the 'X' shortcut
11 years ago
Timothy Stack
9dd471c5de
[shared_buffer] invalid refs in the line buffer destructor
11 years ago
Timothy Stack
454503ed53
[conf] check for sqlite3_stmt_readonly
11 years ago
Timothy Stack
41bc1e98fe
[sql] implement xBestIndex
11 years ago
Timothy Stack
9ff6a3cbe9
[write-json] add a command to write results as json
11 years ago
Timothy Stack
1de4838cf5
[index] allow for larger file sizes
...
Fixes #76
Max line count for a file is 256 million and the
max number of files is 4096.
11 years ago
Timothy Stack
1c6eb45170
[highlight] fix highlighting for backslash in regexes
11 years ago
Timothy Stack
b34a314098
[data] fix scanning for times
11 years ago
Timothy Stack
c628810850
[readline] fix a problem with scrolling through the match list
11 years ago
Timothy Stack
43e6b55a81
[readline] customize display of matches for completion
11 years ago
Timothy Stack
08374381b2
[partition] use an underline to mark a partition boundary
11 years ago
Timothy Stack
d993d0e8c6
[partition] make partitions a separate bookmark type
11 years ago
Timothy Stack
b6baae7730
[debug] more debugging stuff
...
Defect Number:
Reviewed By:
Testing Done:
11 years ago
Timothy Stack
f94015e5b5
[readline] highlight pcre syntax in the search prompt
11 years ago
Timothy Stack
c780ddb9af
[mouse] more small fixes for mouse support (dragging)
11 years ago
Timothy Stack
74e7b3b92c
[log] squelch file not found message
11 years ago
Timothy Stack
d9fbe4a181
[mouse] small fixes for mouse support
11 years ago
Timothy Stack
c347485834
[config] add more config directories to search
11 years ago
Timothy Stack
fea18347f1
[headless] report output from commands/queries that were executed
...
Also, add some negative test cases.
11 years ago
Timothy Stack
169a5bd732
[misc] some more tweaks to the last few changes
11 years ago
Timothy Stack
47041177be
Make sure there is a view on the stack
11 years ago
Timothy Stack
5a04a44381
[tests] add some tests that use headless mode
11 years ago
Timothy Stack
10eb9617b1
[sql] add a bookmark column to the log tables
11 years ago
Timothy Stack
64fe8175a6
[log] add an internal logger instead of using redirected stderr
11 years ago
Timothy Stack
e0643fcfc1
[sql] plumb env vars into queries
11 years ago
Timothy Stack
2dd2b02e1b
[headless] add options for usage without the UI
11 years ago
Timothy Stack
806b272679
[status] some fixes to the search hit count status
11 years ago
Timothy Stack
1453c8e787
[sql] do not switch to the DB view if only the log_line column is selected
...
Fixes #78
11 years ago
Timothy Stack
5b66441378
[doc] update some docs
11 years ago
Timothy Stack
c29d756fd3
[sql] implement the sqlite3 .schema command
11 years ago
Timothy Stack
7958c54fd0
[sql] use the default sqlite datetime format so collating works
11 years ago
Timothy Stack
8e884520c0
[misc] tweak scrollbar colors; add auto-complete for strings when typing sql searches; fix ipaddress collator
11 years ago
Timothy Stack
3d72830b74
[scroll] some more scrollbar tweaks
11 years ago
Timothy Stack
601c19a537
[scrollbar] change the look of the scrollbar
11 years ago
Timothy Stack
c3e1dda8f7
[sql] fix bug when querying sub-lines
11 years ago
Timothy Stack
8c086c06ae
[help] add an option to just display the internal help text
...
Fixes #67
11 years ago