Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit a2c5656

Browse files
Initial readme
1 parent 09d4caa commit a2c5656

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Docker Log Forwarder
2+
3+
This tool uses the Docker API to capture logs and forward them to a remote system.
4+
5+
While normally it's best to configure [syslog forwarding](https://docs.docker.com/config/containers/logging/syslog/), some systems (such as the [Home Assistant Operating System](https://github.com/home-assistant/operating-system) don't allow
6+
Docker to be configured that way. This tool allows for logs to be forwarded from within a container, as long as that container has access to the Docker socket.
7+
8+
```console
9+
go run forwarder.go --help
10+
Usage of /var/folders/kh/l4v73x014452yvc02s48c3y40000gn/T/go-build1527857121/b001/exe/forwarder:
11+
-log-destination-address string
12+
Specify the address and port to send logs to, such as localhost:5555. (default "graylog.lan:5555")
13+
```

0 commit comments

Comments
 (0)