Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

No registered plugin type: GeoIpDecoder #1964

Open
leslie-wang opened this issue Jul 22, 2016 · 1 comment
Open

No registered plugin type: GeoIpDecoder #1964

leslie-wang opened this issue Jul 22, 2016 · 1 comment

Comments

@leslie-wang
Copy link

I download both 0.9.2 and 0.10.0, and have below squid.toml to enable geoip, but always get failure when I start hekad "No registered plugin type: GeoIpDecoder.". Do I have to manually combine hekad so as to include this plugin?

[squid]
type='LogstreamerInput'
log_directory = '/var/log/'
file_match = 'squid.log'
decoder = "multi_squid_decoder"

[multi_squid_decoder]
type = "MultiDecoder"
subs = ['squid_decoder', 'squid_geoip_decoder']
cascade_strategy = "all"
log_sub_errors = true

[squid_geoip_decoder]
type="GeoIpDecoder"
db_file="/var/geoip/GeoLiteCity.dat"
source_ip_field="ClientIP"
target_field="geoip"

@sathieu
Copy link
Contributor

sathieu commented Aug 14, 2016

The prebuilt packages are not built with geoip apparently. Build them yourself: http://hekad.readthedocs.io/en/v0.10.0/installing.html#from-source

Also, please send support request to the mailing list instead (and close this issue). Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants