Sign inSign up

zerosuxx/http-logger

By zerosuxx

•Updated about 2 years ago

Image
0

2.0K

zerosuxx/http-logger repository overview

⁠http-logger

⁠Usage

$ go run main.go
$ curl -X POST -d "hello" http://localhost:8080/write
$ tail -f /var/log/syslog | tee /dev/stderr | while read -r line; do curl -X POST -d "$line" http://localhost:8080/write; done
$ tail -f /var/log/syslog | tee /dev/stderr | while read -r line; do wget --quiet --output-document=- --post-data "$line" http://localhost:8080/write; done
$ curl http://localhost:8080/readAll

Tag summary

Content type

Image

Digest

sha256:e2596f170…

Size

4.2 MB

Last updated

about 2 years ago

docker pull zerosuxx/http-logger