Search in sources :

Example 1 with GeoIpResolverEngine

use of org.graylog.plugins.map.geoip.GeoIpResolverEngine in project graylog2-server by Graylog2.

the class GeoIpProcessor method reload.

private void reload() {
    final GeoIpResolverConfig newConfig = clusterConfigService.getOrDefault(GeoIpResolverConfig.class, GeoIpResolverConfig.defaultConfig());
    LOG.debug("Updating GeoIP resolver engine - {}", newConfig);
    filterEngine.set(new GeoIpResolverEngine(geoIpVendorResolverService, newConfig, metricRegistry));
}
Also used : GeoIpResolverEngine(org.graylog.plugins.map.geoip.GeoIpResolverEngine) GeoIpResolverConfig(org.graylog.plugins.map.config.GeoIpResolverConfig)

Aggregations

GeoIpResolverConfig (org.graylog.plugins.map.config.GeoIpResolverConfig)1 GeoIpResolverEngine (org.graylog.plugins.map.geoip.GeoIpResolverEngine)1