mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
logging wip
This commit is contained in:
parent
67c54641ea
commit
d59a07521a
10
monitoring/logging/fluentd/basic-demo/readme.md
Normal file
10
monitoring/logging/fluentd/basic-demo/readme.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Fluentd basic demo
|
||||||
|
|
||||||
|
In my video: Introduction to logging <br/>
|
||||||
|
I run fluentd locally <br/>
|
||||||
|
I collect all local container logs into the `./logs` folder <br/>
|
||||||
|
Fluentd collects all the logs of the containers running on my machine.
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose up
|
||||||
|
```
|
@ -0,0 +1,12 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
fluentd:
|
||||||
|
container_name: fluentd
|
||||||
|
user: root
|
||||||
|
image: fluent/fluentd:v1.11-debian
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/containers:/fluentd/log/containers
|
||||||
|
- ./fluent.conf:/fluentd/etc/fluent.conf
|
||||||
|
- ./logs:/output/
|
||||||
|
logging:
|
||||||
|
driver: "local"
|
@ -1 +1,8 @@
|
|||||||
# WIP
|
# Logging
|
||||||
|
|
||||||
|
## Logging Basics
|
||||||
|
|
||||||
|
* Standardised Logging
|
||||||
|
* Centralised Logging
|
||||||
|
|
||||||
|
[Demo](./basic-demo/readme.md)
|
Loading…
x
Reference in New Issue
Block a user