https://github.com/jcmoraisjr/udplog-d
Pipe logs from an UDP port to stdout.
https://github.com/jcmoraisjr/udplog-d
sidecar syslog
Last synced: 3 months ago
JSON representation
Pipe logs from an UDP port to stdout.
- Host: GitHub
- URL: https://github.com/jcmoraisjr/udplog-d
- Owner: jcmoraisjr
- License: apache-2.0
- Created: 2019-12-22T21:18:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-22T21:25:57.000Z (over 5 years ago)
- Last Synced: 2025-01-20T14:50:10.772Z (5 months ago)
- Topics: sidecar, syslog
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# udplog-d
Bare minimum image to pipe logs from an UDP port to stdout. Meant to be run as a sidecar container.
[](https://quay.io/repository/jcmoraisjr/udplog-d)
## Use cases
* Pipe logs from daemons that cannot log to stdout
* Separate stdout logs in distinct containers## Usage
Running as a sidecar container on k8s. Default UDP port is `1514`:
```yaml
...
template:
spec:
containers:
- name: syslog
image: quay.io/jcmoraisjr/udplog-d
```Changing to UDP port `2514`:
```yaml
...
template:
spec:
containers:
- name: syslog
image: quay.io/jcmoraisjr/udplog-d
args: ["2514"]
```