Skip to content

Example project of Python logs centralization using redis-logs

License

Notifications You must be signed in to change notification settings

Iglesys347/sw-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sw-logs

Example project of Python logs centralization using redis-logs

Example gif

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)

Getting started

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

sw-logs archi

You can then stop all the services with:

docker compose down

About

Example project of Python logs centralization using redis-logs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published