개발자의 노트
Fluentd와 MongoDB를 이용한 실시간 로깅 (nginx access log)

Fluentd 설치 참조 : http://misoin.tistory.com/43 MongoDB 설치 참조 : http://misoin.tistory.com/21 nginx 의 access 로그를 수집하도록 설정 # vi /etc/td-agent/td-agent.conf # nginx access log type tail path /log/nginx/access.log tag nginx.log.access format apache time_format %d/%b/%Y:%H:%M:%S %z type mongo database nginx collection access host 192.168.0.204 port 27017 flush_interval 10s # /etc/init.d/td-agent restart..