Sha256: f6a79ccc754186f9d4d06ade1a1a02d9686f5e57c31df1922f885f79a3a8d91d

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

# fluent-plugin-referer-parser

## WootheeOutput

'fluent-plugin-referer-parser' is a Fluentd plugin to parse Referer strings, based on [tagomoris/fluent-plugin-woothee](https://github.com/tagomoris/fluent-plugin-woothee).
'fluent-plugin-referer-parser' uses [snowplow/referer-parser](https://github.com/snowplow/referer-parser).


## Configuration

To add referer-parser result into matched messages:

    <match input.**>
      type referer_parser
      key_name referer
      remove_prefix input
      add_prefix merged
    </match>

Output messages with tag 'merged.**' has 'referer\_known', 'referer\_referer' and 'referer\_search\_term' attributes. If you want to change attribute names, write configurations as below:

    <match input.**>
      type referer_parser
      key_name ref
      remove_prefix input
      add_prefix merged
      out_key_known        ref_known
      out_key_referer      ref_referer
      out_key_search_term  ref_search_term
    </match>


## Copyright

* Copyright (c) 2012- TAGOMORI Satoshi (tagomoris)
* Copyright (c) HARUYAMA Seigo
* License
  * Apache License, Version 2.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-referer-parser-0.0.3 README.md
fluent-plugin-referer-parser-0.0.2 README.md
fluent-plugin-referer-parser-0.0.1 README.md