8. 3. Nginx+Fluentd+MongoDB
? Fluentd(wajalog01)
<source>
type forward
port 24224
</source>
<match nginx.**>
type mongo
host localhost
database nginx
tag_mapped
remove_tag_prefix nginx.
flush_interval 10s
buffer_chunk_limit 10m
</match>
秘薦
竃薦
9. 3. Nginx+Fluentd+MongoDB
? MongoDB
$ mongo
MongoDB shell version: 2.4.4
connecting to: test
> show dbs
admin (empty)
local 0.078125GB
nginx 19.9443359375GB
> use nginx
switched to db nginx
> show tables
reason.access
ssl.waja.access
system.indexes
waja.access