Sha256: 95e90fdbb518868d04b3f4765b3b002f91ff718c8fd5ec2384fbf6f0c47dcdef

Contents?: true

Size: 1.98 KB

Versions: 47

Compression:

Stored size: 1.98 KB

Contents

# In v1 configuration, type and id are @ prefix parameters.
# @type and @id are recommended. type and id are still available for backward compatibility

## built-in TCP input
## $ echo <json> | fluent-cat <tag>
<source>
  @type forward
  @id forward_input
</source>

## built-in UNIX socket input
#<source>
#  @type unix
#</source>

# HTTP input
# http://localhost:8888/<tag>?json=<json>
<source>
  @type http
  @id http_input

  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
  @id monitor_agent_input

  port 24220
</source>

# Listen DRb for debug
<source>
  @type debug_agent
  @id debug_agent_input

  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
  @id stdout_output
</match>

# match tag=system.** and forward to another fluent server
<match system.**>
  @type forward
  @id forward_output

  <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>

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
fluentd-0.12.43 fluent.conf
fluentd-0.12.42 fluent.conf
fluentd-0.12.41 fluent.conf
fluentd-0.12.40 fluent.conf
fluentd-0.12.39 fluent.conf
fluentd-0.12.38 fluent.conf
fluentd-0.12.37 fluent.conf
fluentd-0.12.36 fluent.conf
fluent-plugin-detect-memb-exceptions-0.0.2 vendor/bundle/ruby/2.0.0/gems/fluentd-0.12.35/fluent.conf
fluent-plugin-detect-memb-exceptions-0.0.1 vendor/bundle/ruby/2.0.0/gems/fluentd-0.12.35/fluent.conf
fluentd-0.12.35 fluent.conf
fluentd-0.12.34 fluent.conf
fluentd-0.12.33 fluent.conf
fluentd-0.12.32 fluent.conf
fluentd-0.12.31 fluent.conf
fluentd-0.12.30 fluent.conf
fluentd-0.12.29 fluent.conf
fluentd-0.12.28 fluent.conf
fluentd-0.12.27 fluent.conf
fluentd-0.12.26 fluent.conf