You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
backoff all: adjust some log verbosity 2 years ago
example logtail, logpolicy: remove an unidiomatic use of an interface 3 years ago
filch logtail/filch: limit buffer file size to 50MB 3 years ago
.gitignore Move Linux client & common packages into a public repo. 4 years ago
README.md Move Linux client & common packages into a public repo. 4 years ago
api.md Move Linux client & common packages into a public repo. 4 years ago
buffer.go logtail: rename the unused CheckLogs to DrainLogs 4 years ago
id.go logtail: add MustParsePublicID 2 years ago
id_test.go logtail: add ParsePublicID that doesn't allocate 4 years ago
logtail.go types/logger, logtail: add mechanism to do structured JSON logs 2 years ago
logtail_test.go types/logger, logtail: add mechanism to do structured JSON logs 2 years ago

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.