y-ken / fluent-plugin-geoip

Fluentd output plugin to geolocate with geoip.
http://rubygems.org/gems/fluent-plugin-geoip
Other
103 stars 23 forks source link

Use built-in record_accessor plugin helper #72

Closed okkez closed 5 years ago

okkez commented 6 years ago

Incompatibility notice:

geoip_lookup_keys host.ip

like dotted style without leading $ key is not interpreted as nested attributes.

Use following styles instead:

geoip_lookup_keys $.host.ip

or

geoip_lookup_keys $["host"]["ip"]

For more details, see https://docs.fluentd.org/v1.0/articles/api-plugin-helper-record_accessor

okkez commented 6 years ago

@y-ken How do you think about this?