Sha256: c5151cc34aefa3b64725243bf2ab5aad9c3fb7e3355a2449f7539e1416e8f3c5
Contents?: true
Size: 1.4 KB
Versions: 2
Compression:
Stored size: 1.4 KB
Contents
# Woothee filter plugin for Embulk parse UserAgent strings and to filter/drop specified categories of user terminals. see. [woothee/woothee-java](https://github.com/woothee/woothee-java) ## Overview * **Plugin type**: filter ## Configuration - **key_name**: target key name (string, required) - **out_key_name**: out key name (string, default: agent_name) - **out_key_category**: out key category (string, default: agent_category) - **out_key_os**: out key os (string, default: agent_os) - **out_key_version**: out key version (string, default: agent_version) - **out_key_vendor**: out key vendor (string, default: agent_vendor) - **filter_categories**: filter categories (array, default: null) - **drop_categories**: drop categories (array, default: null) - **merge_agent_info**: merge agent info (bool, default: false) ## Example1(add agent info) ```yaml filters: - type: woothee key_name: user_agent merge_agent_info: true out: type: stdout ``` ## Example2(filter categories) ```yaml filters: - type: woothee key_name: user_agent merge_agent_info: true filter_categories: - pc - smartphone - mobilephone - appliance out: type: stdout ``` ## Example3(drop categories) ```yaml filters: - type: woothee key_name: user_agent merge_agent_info: true filter_categories: - crawler - UNKNOWN out: type: stdout ``` ## Build ``` $ ./gradlew gem ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
embulk-filter-woothee-0.2.0 | README.md |
embulk-filter-woothee-0.1.0 | README.md |