90DaysOfDevOps/Days/Monitoring/Fluentd/introduction
michaelcade ac9ddf3ffd Day 81
2022-03-28 10:32:52 +01:00
..
configurations Day 81 2022-03-28 10:32:52 +01:00
file Day 81 2022-03-28 10:32:52 +01:00
http Day 81 2022-03-28 10:32:52 +01:00
logs Day 81 2022-03-28 10:32:52 +01:00
docker-compose.yaml Day 81 2022-03-28 10:32:52 +01:00
dockerfile Day 81 2022-03-28 10:32:52 +01:00
readme.md Day 81 2022-03-28 10:32:52 +01:00

Introduction to Fluentd

Collecting logs from files

Reading logs from a file we need an application that writes logs to a file.
Lets start one:

cd monitoring\logging\fluentd\introduction\

docker-compose up -d file-myapp

To collect the logs, lets start fluentd

docker-compose up -d fluentd

Collecting logs over HTTP (incoming)

cd monitoring\logging\fluentd\introduction\

docker-compose up -d http-myapp