Commit graph

92 commits

Author SHA1 Message Date
aeceda5caa circolog.Message: for readers
refs #14
2019-03-24 19:55:01 +01:00
85ccd65543 receives data from multiple formats
however, data structure is variable; this makes templates unnecessary
complex. It would be better to convert everything to rfc5424 (at some
point)
2019-03-23 22:34:50 +01:00
4b9e645713
Dockerfile documented in the README. 2019-03-20 18:29:56 +01:00
65950687ed
Added development dockerfile. 2019-03-20 18:06:24 +01:00
daea3d7563
Use new keywords for examples in index.md 2019-02-06 13:38:32 +01:00
7e4d789ded Merge branch 'docs' 2019-02-06 13:31:12 +01:00
330376b08e Merge branch 'master' of git.lattuga.net:boyska/circolog 2019-02-06 13:27:48 +01:00
4a68f49b88
Fix query.md formatting. 2019-02-06 12:43:13 +01:00
2241d18fa9
Docs: fixup format and minor typos. 2019-02-06 11:19:31 +01:00
242127d528 docs with mkdocs 2019-02-05 17:41:05 +01:00
b488923394
Fix typo and more meaningful var name. 2019-01-09 16:55:58 +01:00
9b6454bf1b
Translate the keywords for the QL. 2019-01-09 16:41:20 +01:00
c1ae059712 docs on query language. closes #6 2019-01-07 15:43:42 +01:00
0121ba64b5 systemd notify and watchdog (closes #12) 2019-01-07 10:31:41 +01:00
eff3998eb7 Merge branch 'appcolor' 2019-01-03 16:00:00 +01:00
bf9667a8a8 Merge branch 'statusctl' of blallo/circolog into master 2019-01-03 14:11:58 +01:00
1338525183
Fixing plain format in ctl 2019-01-03 13:42:16 +01:00
98a06659cb Merge branch 'master' into statusctl 2019-01-03 12:23:20 +01:00
a8cefc993b
Fix the text shown 2019-01-03 12:11:03 +01:00
46e3f6c883 each app has its color
it is picked from a palette based on its hash: it is pseudorandom, but
still consistent across different lines and different runs.
The palette is a bit too vivid, but let's stick with it for now.

fixes #10
2019-01-03 12:06:57 +01:00
d1223fc170
Changing StatusResponse.Len to .Size 2019-01-03 11:51:14 +01:00
9427fe91b1
Adding ctl subcommand to print status 2019-01-03 11:15:30 +01:00
ef4059c144 -color more similar to grep 2019-01-02 17:37:06 +01:00
86243bf464 circolog-tail has colors 2019-01-02 17:29:34 +01:00
6d1ddba736 tail: log severity name 2019-01-02 13:57:48 +01:00
d1c3c32164 Merge branch 'sqlquery' 2018-12-26 02:21:29 +01:00
6f63873591 filtering explained in README.md 2018-12-26 02:21:15 +01:00
5db7e2f01b filtering code cleanup 2018-12-26 01:54:30 +01:00
658a4bbb1e filtering can be disabled with -tags nofilter
it will make your binaries way smaller
2018-12-26 01:29:39 +01:00
14e97dd43e server-side filtering
circologctl filter lets you load filters on circologd
2018-12-25 03:52:53 +01:00
8735ad2c21 refactor filtering code
goal: use filters server-side, too
2018-12-25 03:17:14 +01:00
89419185ed sql: better client-side handling and validation 2018-12-25 03:04:34 +01:00
8bb28d7a7c simple client-side sql filtering 2018-12-25 02:53:46 +01:00
20269bf94e get status 2018-12-25 01:43:40 +01:00
518b8a5588 pause: minor cleanups 2018-12-25 01:43:40 +01:00
64dc363de7 Merge remote-tracking branch 'blallo/master' 2018-12-25 01:43:28 +01:00
a2303c1e1d
Implement autotoggling after timeout 2018-12-24 18:41:06 +01:00
ce7e715c2f
use time.Duration for server autotoggle wait time 2018-12-24 16:48:11 +01:00
8865335515
answer to the right command 2018-12-24 15:54:22 +01:00
9ef425d827
[ctl] pause subcommand partially implemented 2018-12-21 18:09:32 +01:00
19045d9b25 Merge branch 'sig-coolness' 2018-12-20 09:48:08 +01:00
0747959f8a
First draft of control command 2018-12-20 09:45:05 +01:00
dfe1e60146
Typo in comment 2018-12-19 17:30:04 +01:00
48d9d2df8c Merge remote-tracking branch 'origin/sig-coolness' 2018-12-11 10:52:40 +01:00
d61ab0638f
sigusr2 triggering buffer cleanup also via ctrlsock 2018-12-05 09:18:52 +01:00
b11c2edfc0 [tail] format locally
JSON is actually unfit to send structured log messages, because
date/time is not well supported. So we are using BSON, which supports
those. BSON is, among the dozen serializers available, really a random
choice and might be changed in the future.
2018-11-11 20:54:10 +01:00
2bf83b6c33 refactor syslog formatting
the goal is making circolog-tail apply formatting "locally", receiving
structured messages instead
2018-11-11 20:42:26 +01:00
b2127fd349 update readme to recent enhancements 2018-11-11 20:06:10 +01:00
eb66cb4307 clear logs on contrl socket 2018-11-11 19:58:49 +01:00
1b08df0ce0 add control socket (HTTP server)
also there is some refactoring on circologd: connection handling,
closing, etc. Not as much as needed, though: shutdown is still unclean,
and websocket clean shutdown is not tested
2018-11-11 19:51:21 +01:00