diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-08-25 21:16:56 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-08-25 21:16:56 +0000 |
commit | e36c8fd1731d56c73d736db158277fa1495b127e (patch) | |
tree | 086ed9ce84837d4518da23ae46a0157d998036da /sysutils/rubygem-fluentd/files/patch-fluent.conf.sample | |
parent | Do not strip binaries at all this port is a developement ports and should rem... (diff) |
sysutils/rubygem-fluentd: update to 0.10.53, unbreak, use new rubygem-cool.io
With hat: ruby@
Notes
Notes:
svn path=/head/; revision=366153
Diffstat (limited to 'sysutils/rubygem-fluentd/files/patch-fluent.conf.sample')
-rw-r--r-- | sysutils/rubygem-fluentd/files/patch-fluent.conf.sample | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/sysutils/rubygem-fluentd/files/patch-fluent.conf.sample b/sysutils/rubygem-fluentd/files/patch-fluent.conf.sample new file mode 100644 index 000000000000..05bf9975f02b --- /dev/null +++ b/sysutils/rubygem-fluentd/files/patch-fluent.conf.sample @@ -0,0 +1,103 @@ +--- ./fluent.conf.sample.orig 2014-08-25 20:24:20.865112521 +0000 ++++ ./fluent.conf.sample 2014-08-25 20:23:48.360114719 +0000 +@@ -0,0 +1,100 @@ ++ ++## 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 HTTP for monitoring ++# http://localhost:24220/api/plugins ++# http://localhost:24220/api/plugins?type=TYPE ++# http://localhost:24220/api/plugins?tag=MYTAG ++<source> ++ type monitor_agent ++ port 24220 ++</source> ++ ++# Listen DRb for debug ++<source> ++ type debug_agent ++ bind 127.0.0.1 ++ 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 ++ <server> ++ host 192.168.0.11 ++ </server> ++ <secondary> ++ <server> ++ host 192.168.0.12 ++ </server> ++ </secondary> ++</match> ++ ++## match tag=myapp.** and forward and write to file ++#<match myapp.**> ++# type copy ++# <store> ++# type forward ++# buffer_type file ++# buffer_path /var/log/fluent/myapp-forward ++# retry_limit 50 ++# flush_interval 10s ++# <server> ++# host 192.168.0.13 ++# </server> ++# </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> ++ |