Skip to content

Latest commit

 

History

History
129 lines (87 loc) · 4.16 KB

File metadata and controls

129 lines (87 loc) · 4.16 KB

WURFL device detection filter plugin

Description

The WURFL device detection filter adds device information to HTTP requests through the WURFL API ( [WURFL Microservice client](https://www.scientiamobile.com/products/wurfl-microservice/)).

WURFL device detection Filter Configuration Options

This plugin supports the following configuration options.

Setting Input type Required

cache_size

number

No

inject_wurfl_id

boolean

No

inject_wurfl_info

boolean

No

inject_wurfl_api_version

boolean

No

source

string

Yes

static_capabilities

array

No

virtual_capabilities

array

No

scheme

array

No

host

array

No

port

array

No

Also see [plugins-filters-logstash_filter_wurfl_device_detection-common-options] for a list of options supported by all filter plugins.

 

cache_size
  • Value type is number

  • Default value is 100000

The size of WURFL Microservice client cache. If cache size is ⇐ 0, default value will be used.

inject_wurfl_id
  • Value type is boolean

  • Default value is false

Defines whether wurfl_id string will be added to enriched output.

inject_wurfl_info
  • Value type is boolean

  • Default value is false

Defines whether wurfl_info string will be added to enriched output.

inject_wurfl_api_version
  • Value type is boolean

  • Default value is false

Defines whether the wurfl_api_version will be added to enriched output.

source
  • Value type is string

  • Default value is an empty list

The filter plugin uses this field to identify which subset of the input data is used for device detection. Using default value "headers", the system will use all HTTP headers to perform the detection.

static_capabilities
  • Value type is array

  • Default value is the empty array. This amounts to detect all static capabilities available.

If a list of WURFL static capabilities is provided, only those will be added to the output.

virtual_capabilities
  • Value type is array

  • DDefault value is the empty array. This amounts to detect all virtual capabilities available.

If a list of WURFL virtual capabilities is provided, only those will be added to the output.

scheme
  • Value type is string

  • Default value is "http"

Protocol scheme used to connect to your WURFL Microservice server instance

host
  • Value type is string

  • Default value is "localhost"

Host or IP address used to connect to your WURFL Microservice server instance

port
  • Value type is string

  • Default value is "80"

Port used to connect to your WURFL Microservice server instance