tailscale/cmd
Joe Tsai 817e54bab6
cmd/netlogfmt: handle any stream of network logs (#6108)
Make netlogfmt useful regardless of the exact schema of the input.
If a JSON object looks like a network log message,
then unmarshal it as one and then print it.
This allows netlogfmt to support both a stream of JSON objects
directly serialized from netlogtype.Message, or the schema
returned by the /api/v2/tailnet/{{tailnet}}/network-logs API endpoint.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-11-11 08:21:45 -08:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/{cloner,viewer}: add support for map values with pointers 2022-08-03 13:02:17 -07:00
derper cmd/derper, net/netcheck: add challenge/response to generate_204 endpoint 2022-10-21 08:16:18 -07:00
derpprobe net/stun: convert to use net/netip.AddrPort 2022-08-15 12:46:01 -04:00
gitops-pusher cmd/gitops-pusher: standardize hujson before posting to validate (#5525) 2022-09-01 13:38:32 -04:00
hello refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
netlogfmt cmd/netlogfmt: handle any stream of network logs (#6108) 2022-11-11 08:21:45 -08:00
nginx-auth cmd/nginx-auth/nginx-auth: update auth to allow for new domains 2022-08-31 20:18:13 -07:00
pgproxy cmd/pgproxy: link to blog post at the top. 2022-10-04 16:47:12 -07:00
printdep Docker: add ALPINE.txt to manage alpine versions 2022-06-29 11:47:09 -07:00
proxy-to-grafana all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
speedtest net/speedtest: retune to meet iperf on localhost in a VM 2022-09-23 10:46:04 -07:00
ssh-auth-none-demo cmd/ssh-auth-none-demo: add demo SSH server that acts like Tailscale SSH 2022-10-09 18:07:04 -07:00
tailscale net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2022-10-21 08:16:18 -07:00
tailscaled types/netlogtype: new package for network logging types (#6092) 2022-11-11 08:20:55 -08:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsconnect cmd/tsconnect: close the SSH session an unload event instead of beforeunload 2022-10-06 13:17:15 -07:00
tsshd cmd/tsshd: add a package line to appease gofmt 2022-07-25 20:52:04 -07:00
viewer all: fix spelling mistakes 2022-09-29 13:36:13 -07:00