Commit Graph

101 Commits

Author SHA1 Message Date
Timothy Stack
fb7225ed3f add a time format 2016-02-24 22:29:28 -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
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
224a7196e4 [cmd] hide lines commands 2015-12-05 20:38:21 -08:00
Timothy Stack
f11cca2366 [sql] add a timeslice() function 2015-10-03 14:58:01 -07:00
Timothy Stack
ec473edc85 [cmd] add support for times in goto 2015-09-14 08:56:42 -07:00
Timothy Stack
2b5447f59c [sql] add a log_search table 2015-08-05 23:18:19 -07:00
Timothy Stack
f286950854 [curl] add a curl looper to handle url requests 2015-08-02 06:43:57 -07:00
Timothy Stack
d2d8c75135 [sql] add an lnav_views table 2015-07-22 07:09:51 -07:00
Timothy Stack
4573964fd2 always build papertrail_proc 2015-07-14 20:15:48 -07:00
Timothy Stack
f1dd99328d [lnav.cc] move more stuff out of lnav.cc 2015-07-08 22:26:54 -07:00
Timothy Stack
6b971ccd66 move stuff out of lnav.cc
Defect Number:
    Reviewed By:
   Testing Done:
2015-07-08 06:35:36 -07:00
Timothy Stack
879bbd581e [pt] rough draft of tail for papertrail 2015-07-06 20:53:42 -07:00
Timothy Stack
054e8d489b [data-scanner] convert to using re2c 2015-06-08 06:27:45 -07:00
Timothy Stack
504b5747fe [sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes 2015-06-03 06:36:58 -07:00
Timothy Stack
100e4233d5 [ptime] fix parsing for double digit year 2015-05-29 21:41:30 -07:00
Timothy Stack
cec3d0cb72 [generic_log] add time format that includes zone 2015-05-17 05:15:41 -07:00
Suresh Sundriyal
55e912d21e [pretty] Don't wait indefinitely for reverse IP lookups.
Reverse lookup for pretty print should be a best effort undertaking. So,
+ Give up on EAI_AGAIN.
+ Don't block on the getnameinfo call indefinitely, resolv.conf might be
  set up with a large timeout.
+ Disable lookups after the first failure.
+ Lots of OCD error checking.
2015-04-23 23:42:51 -07:00
Suresh Sundriyal
8e70980f7f [init.sql] Check in a static init.sql and remove init_sql.py.
- The codes from httplib.py don't contain all the HTTP status codes and
  might differ between different versions of Python installed on the
  systems the binary is built on.
- Add the complete list from:
  http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
- Remove ```init_sql.py``` from the source directory.
- Remove the ```init.sql``` targets from Makefile.am
2015-04-11 14:59:43 -07:00
Timothy Stack
1c41731c33 remove -Werror=sign-compare for now since it's not supported on some older compilers 2015-04-11 11:31:07 -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
Suresh Sundriyal
dd88c6543a [build] Turn 'sign-compare' in to an error.
Can't turn on the same on tests because it breaks on some test cases.
2015-04-04 17:07:59 -07:00
Suresh Sundriyal
a1fd8f9dd9 [time_fmt] Add the new time_fmt to Makefile.am.
Makefile.in is a generated file and will get overwritten on the next
autogen run.
2015-04-03 12:00:44 -07:00
Suresh Sundriyal
707ccce9c0 [build] Stop readline macro from polluting the environment variables. 2015-03-29 01:19:51 -07:00
Timothy Stack
44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
2015-03-28 06:30:30 -07:00
Suresh Sundriyal
acd913b9f9 [Compile errors] test_override.cc -> test_override.c 2015-03-27 11:21:08 -07:00
Suresh Sundriyal
ed0baf7c1c [build] Add custom silent rules.
Add custom silent rules for ptime/bin2c/sqlite3/rm commands.
2015-03-25 03:03:34 -07:00
Suresh Sundriyal
74da06a8b8 [build] Define a USE_INCLUDED_YAJL conditional
Define a USE_INCLUDED_YAJL conditional which can be used to skip the
included YAJL files if there are local ones available.
2015-03-14 03:12:36 -07:00
Timothy Stack
6a90dd9bc2 copy search terms to OS-Xs find clipboard
Fixes #108
2014-11-19 06:12:43 -08:00
Timothy Stack
cfa628f6c4 various fixes
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-11 21:18:55 -08:00
Timothy Stack
c7cd0961ab [build] make dist fixes 2014-11-03 20:41:38 -08:00
Timothy Stack
d4bea593b7 [perf] optimize json log loading 2014-10-28 07:02:27 -07:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -07:00
Timothy Stack
d557002724 [format] add OpenAM log formats 2014-06-17 21:29:42 -07:00
Timothy Stack
9220c3c926 [timefmt] some more time formats
Handle month/day/hour formats without a leading zero.
2014-06-10 22:14:13 -07:00
Timothy Stack
353dfec878 [sql] add an environ virtual table
Defect Number:
    Reviewed By:
   Testing Done:
2014-05-06 21:26:05 -07:00
Timothy Stack
1974e1f1ae [jsonptr] initial impl 2014-05-05 06:44:58 -07:00
Timothy Stack
72e3a4d8df [format] add TCF file format and some fixes to make it work
Defect Number:
    Reviewed By:
   Testing Done:
2014-04-06 22:11:04 -07:00
Timothy Stack
8372cef11c [date] code generator for strptime formats 2014-03-22 08:02:48 -07:00
Timothy Stack
4ce9a1e871 [elapsed-time] add a visual indicator for sharp changes in message rate 2014-03-16 15:07:08 -07:00
Timothy Stack
9ff6a3cbe9 [write-json] add a command to write results as json 2014-03-11 05:37:13 -07:00
Timothy Stack
f94015e5b5 [readline] highlight pcre syntax in the search prompt 2014-03-04 07:38:33 -08:00
Timothy Stack
c347485834 [config] add more config directories to search 2014-03-02 22:26:41 -08:00
Timothy Stack
64fe8175a6 [log] add an internal logger instead of using redirected stderr 2014-03-01 16:35:30 -08:00
Timothy Stack
034bde1854 Add term_extra.hh to noinst_HEADERS 2014-02-22 23:03:15 -08:00
Suresh Sundriyal
cd49dc5226 Static linking related cleanup.
* Remove traces of libcrypto, since we don't use OpenSSL anymore.
* Add libgpm and libtinfo to the list of static_lib_list.
2014-02-06 20:53:11 -08:00
Suresh Sundriyal
35584d6482 Fix Makefile.am to use Spookyhash code. 2014-02-03 22:10:17 -08:00
Timothy Stack
5ef8a168a7 [perf] reduce copies of log messages 2014-02-01 06:41:11 -08:00
Timothy Stack
59c1d4313b [mouse] more mouse support and other fixes 2013-10-11 06:22:29 -07:00