sematext / logagent-js

Extensible log shipper with input/output plugins, buffering, parsing, data masking, and small memory/CPU footprint
https://sematext.com/logagent
Apache License 2.0
389 stars 79 forks source link

Fix GEOIP_FIELDS config settings #192

Closed megastef closed 4 years ago

megastef commented 4 years ago

Setting a list of fields to read the IP adress via GEOIP_FIELDS env variable did not work. This fix allows to set a list of fields e.g. GEOIP_FIELDS="ClientIP,remote_address,client_ip"