Sha256: a34d585178f5527ce683d9d69332d05b298f74ee951fa8e6b79e731f0a0777e6

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

= fluent-plugin-sampling-filter

== Component

=== SamplingFilterOutput

Do sampling from matching messages to analyse and report messages behavior, and emit sampled messages with modified tag.

- sampling rate per tags, or for all
- remove_prefix of tags for input messages, and add_prefix of tags for output(sampled) messages

== Configuration

=== SamplingFilterOutput

Pickup 1/10 messages about each tags(default: 'sample_unit tag'), and add tag prefix 'sampled'.

    <match **>
      type sampling_filter
      interval 10
      add_prefix sampled
    </match>
    
    <match sampled.**>
      # output configurations where to send sampled messages
    </match>

Pickup 1/100 messages of all matched messages, and modify tags from input.** to output.**

    <match input.**>
      type sampling_filter
      interval 100
      sample_unit all
      remove_prefix input
      add_prefix output
    </match>
    
    <match sampled.**>
      # output configurations where to send sampled messages
    </match>

== TODO

- consider what to do next
- patches welcome!

== Copyright

Copyright:: Copyright (c) 2012- TAGOMORI Satoshi (tagomoris)
License::   Apache License, Version 2.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-sampling-filter-0.1.2 README.rdoc
fluent-plugin-sampling-filter-0.1.1 README.rdoc
fluent-plugin-sampling-filter-0.1.0 README.rdoc