User Agent
Fluentd UserAgent filter
Overview
Fluentd Filter plugin to parse user-agent More information at https://github.com/bungoume/fluent-plugin-ua-parser
Configuration
UserAgent
delete_key (bool, optional)
Delete input key
Default: false
flatten (bool, optional)
Join hashed data by ‘_’
Default: false
key_name (string, optional)
Target key name
Default: user_agent
out_key (string, optional)
Output prefix key name
Default: ua
Example UserAgent
filter configurations
apiVersion: logging.banzaicloud.io/v1beta1
kind: Flow
metadata:
name: demo-flow
spec:
filters:
- useragent:
key_name: my_agent
delete_key: true
out_key: ua_fields
flatten: true
selectors: {}
localOutputRefs:
- demo-output
Fluentd config result:
<filter **>
@type ua_parser
@id test_useragent
key_name my_agent
delete_key true
out_key ua_fields
flatten true
</filter>
Last modified March 12, 2024: Merge pull request #229 from kube-logging/pagefind-restructure (c4cf8da)