-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
cool project idea from weslayer!!
Grabbing some inspo from Grafana Loki, SCE should create a lightweight, microservice-based log aggregation system. We tried to run the Loki image with Docker Logging Drivers but the server couldn't handle it 🥀
Here is the current Grafana Loki architecture: https://grafana.com/docs/loki/latest/get-started/architecture/#loki-architecture
Here is the SCE Log Aggregator that I am proposing (super simple for now):

Steps to create:
- create Go project
- watch MinIO tutorial to setup bucket
- create
POST /ingestendpoint - store logs in MinIO in nice format (ex: `/logs/{time and date }.log)
Deploying to server:
- setup a docker compose for these services
- manually POST example logs to see if it works
- configure grafana MinIO datasource, scroll down to see log datatype
- boom dashboard (not cool yet)
Future additions:
- create service to scrape logs from containers running on the local machine (may have to use Docker Log Driver, regular docker logs should be fine)
- adding tags for logs coming from which container that it is from
- querying logs with SQL using PostgreSQL metadata store (maybe too much for just display)?
sre time
Metadata
Metadata
Assignees
Labels
No labels