Terminal logs in web browser
10K+
This is the Git repo of the docker logdy image.
This image was created as alternative for this feature request. Logdy wasnt designed to be used as in a docker environment, but it does make it easier to deploy and run. Also it may be used in kubernetes clusers as sidecar container for applications on staging.
Logdy is a web-based platform designed to help monitor, track, and analyze application logs in real-time locally. It is a multi-purpose DevOps tool that enhances productivity in the terminal.
Logdy improves productivity by recording the output of the processes, whether that's standard output or a file, and routes it to a web UI. The web UI is served by Logdy on a specific port and accessible on a local host. The UI is a reactive, low-latency web application that automatically generates filters and allows you to browse and search through the logs.
Simple command:
docker run -d -p 8080:8080 -p 10800:10800 rickraven/logdy:0.14.0
Then you can visit http://localhost:8080/ in your browser. By default logdy in this image works in socket mode so you mas send logs for 10800 port. Example of simple fluent-bit log pipeline with output to logdy:
pipeline:
inputs:
- name: kubernetes_events
tag: k8s_events
kube_url: https://kubernetes.default.svc
tls.verify: on
outputs:
# Just send logs to logdy socket
- name: tcp
match: 'k8s_events'
tls: off
host: 127.0.0.1
port: 10800
format: json_lines
You may run container for log files following:
docker run -d -p 8080:8080 -v /var/logs:/data -e LOGDY_MODE="follow" -e LOGDY_FOLLOW_FILES="/data/*.log" rickraven/logdy:0.14.0
Example docker-compose.yml for logdy:
version: '3.1'
services:
logdy:
image: rickraven/logdy:0.14.0
restart: always
ports:
- 8080:8080
- 10800:10800
- 10900:10900
- 11000:11000
environment:
LOGDY_PASS: "mypassword"
LOGDY_MODE: "socket"
LOGDY_SOCKET_PORTS: "10800 10900 11000"
follow and socket modes (default: socket).follow mode.socket mode.Content type
Image
Digest
sha256:82381ea63…
Size
32.9 MB
Last updated
9 months ago
docker pull rickraven/logdy