tailscale/logtail
Brad Fitzpatrick 84138450a4 types/logger, logtail: add mechanism to do structured JSON logs
e.g. the change to ipnlocal in this commit ultimately logs out:

{"logtail":{"client_time":"2022-02-17T20:40:30.511381153-08:00","server_time":"2022-02-18T04:40:31.057771504Z"},"type":"Hostinfo","val":{"GoArch":"amd64","Hostname":"tsdev","IPNVersion":"1.21.0-date.20220107","OS":"linux","OSVersion":"Debian 11.2 (bullseye); kernel=5.10.0-10-amd64"},"v":1}

Change-Id: I668646b19aeae4a2fed05170d7b279456829c844
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-02-18 12:42:06 -08:00
..
backoff all: adjust some log verbosity 2022-02-12 08:51:16 -08:00
example logtail, logpolicy: remove an unidiomatic use of an interface 2020-12-21 09:03:39 -08:00
filch logtail/filch: limit buffer file size to 50MB 2021-10-29 13:31:30 -07:00
.gitignore Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
README.md Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
api.md Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
buffer.go logtail: rename the unused CheckLogs to DrainLogs 2020-03-20 13:26:33 +11:00
id.go logtail: add MustParsePublicID 2022-02-14 16:00:17 -08:00
id_test.go logtail: add ParsePublicID that doesn't allocate 2020-04-13 08:54:35 -07:00
logtail.go types/logger, logtail: add mechanism to do structured JSON logs 2022-02-18 12:42:06 -08:00
logtail_test.go types/logger, logtail: add mechanism to do structured JSON logs 2022-02-18 12:42:06 -08:00

README.md

Tailscale Logs Service

This github repository contains libraries, documentation, and examples for working with the public API of the tailscale logs service.

For a very quick introduction to the core features, read the API docs and peruse the logs reprocessing example.

For more information, write to info@tailscale.io.