Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- centos 7.5
- syslog
- GPU
- PostgreSQL
- Linux
- 서울시민카드
- RHEL
- Elk
- Shell
- K8S
- log
- 파이썬
- GNOME
- 빅데이터
- JSON
- Chrome
- 크롬
- zabbix
- CentOS
- C
- bash
- 디렉토리
- audit
- Python
- yum
- Elasticsearch
- Kubernetes
- docker
- Audit Log
- rsyslog
Archives
- Today
- Total
Sysops Notepad
[Docker] docker fluentd 본문
728x90
1. fluentd 설치 및 실행
docker pull
fluent/fluentd
vi
test.conf
<source>
@type forward
</source>
<match *>
@type stdout
</match>
docker run -it -p 24224:24224 -v /path/to/conf/test.conf:/fluentd/etc/test.conf -e FLUENTD_CONF=test.conf fluent/fluentd:latest
2. fluentd 연동하기
docker run --log-driver=fluentd --log-opt fluentd-address=fluentdhost:24224 <iamges>
참고:
https://www.fluentd.org/guides/recipes/docker-logging
https://docs.fluentd.org/v0.12/articles/docker-logging-efk-compose
728x90
'업무 > etc' 카테고리의 다른 글
[Linux] Systemctl(systemd) 상세 옵션 및 설정 방법 (1) | 2019.01.25 |
---|---|
[Linux] tcpdump 옵션 및 명령어 (0) | 2019.01.25 |
[ELK] xpack basic license 등록 (0) | 2018.12.19 |
[kubernetes] HA 메모 (0) | 2018.12.10 |
[kubernetes] Service Type (0) | 2018.12.08 |