Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Single container logging with fluentd as log collector and loki as log query system, partial visualization in Grafana.

Notifications You must be signed in to change notification settings

pseudoClone/ContainerLogging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guide

This uses host networking because Docker DNS resolver was not working for me. So, should work without problems now.

First run the fluentd container as it should be up and running at port 5432 before Gitea server is up. So:

docker compose up -d fluentd

And wait like 10 seconds for it to settle down. Then run:

docker compose up -d gitea loki grafana

Wait like a minute for loki ingester to be ready.

If you are inpatient, you can check with this:

curl https://localhost:3100/ready

If it's ready then you will get ready code or you will get something like Ingester is not ready, wait like 15 seconds or something like that.

Remove volumes if you f up with the Gitea database or Grafana setup

About

Single container logging with fluentd as log collector and loki as log query system, partial visualization in Grafana.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published