Sha256: 8182f7c5025a097b8d11d217d159f65eed39ffb679d9473c0492cab2f1916a4b
Contents?: true
Size: 1.39 KB
Versions: 8
Compression:
Stored size: 1.39 KB
Contents
## built-in TCP input ## $ echo <json> | fluent-cat <tag> <source> type forward </source> ## built-in UNIX socket input #<source> # type unix #</source> # HTTP input # http://localhost:8888/<tag>?json=<json> <source> type http port 8888 </source> ## File input ## read apache logs with tag=apache.access #<source> # type tail # format apache # path /var/log/httpd-access.log # tag apache.access #</source> # Listen DRb for debug <source> type debug_agent port 24230 </source> ## match tag=apache.access and write to file #<match apache.access> # type file # path /var/log/fluent/access #</match> ## match tag=debug.** and dump to console <match debug.**> type stdout </match> ## match tag=system.** and forward to another fluent server #<match system.**> # type forward # host 192.168.0.11 # <secondary> # host 192.168.0.12 # </secondary> #</match> ## match tag=myapp.** and forward and write to file #<match myapp.**> # type copy # <store> # type forward # host 192.168.0.13 # buffer_type file # buffer_path /var/log/fluent/myapp-forward # retry_limit 50 # flush_interval 10s # </store> # <store> # type file # path /var/log/fluent/myapp # </store> #</match> ## match fluent's internal events #<match fluent.**> # type null #</match> ## match not matched logs and write to file #<match **> # type file # path /var/log/fluent/else # compress gz #</match>
Version data entries
8 entries across 8 versions & 2 rubygems