Example project of Python logs centralization using redis-logs
This project is composed of 3 main parts:
- multiple Python application generating logs and forwarding them to a Redis Stream using redis-logs (see log-generator)
- a Vue JS application to display the logs (see front)
- a WebSocket to send log data to the front (see ws)
The whole application can be started using docker-compose:
docker compose up
This will start the following services:
- a Redis DB
- 3 Python applications generating logs forwarded to Redis. The logs generated are read from the scripts of Star Wars episode 1-3
- a WebSocket retrieving logs from Redis
- a static web application served behind NGINX
You can then stop all the services with:
docker compose down