Successfully downloaded geoip database – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.17-8.9

Briefly, this error occurs when Elasticsearch successfully updates the GeoIP database. This is not an error but an informational message indicating that the GeoIP database, used for IP address geolocation, has been downloaded successfully. If you see this message frequently and want to reduce the frequency, you can adjust the `ingest.geoip.downloader.enabled` setting to false. However, this will disable automatic updates to the GeoIP database. Alternatively, you can adjust the `ingest.geoip.downloader.poll.interval` to a longer duration to reduce the frequency of updates.

This guide will help you check for common problems that cause the log ” successfully downloaded geoip database [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: .

Log Context

Log “successfully downloaded geoip database [{}]” classname is GeoIpDownloader.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            int lastChunk = indexChunks(name; is; firstChunk; md5; start);
            if (lastChunk > firstChunk) {
                state = state.put(name; new Metadata(start; firstChunk; lastChunk - 1; md5; start));
                updateTaskState();
                stats = stats.successfulDownload(System.currentTimeMillis() - start).databasesCount(state.getDatabases().size());
                logger.info("successfully downloaded geoip database [{}]"; name);
                deleteOldChunks(name; firstChunk);
            }
        } catch (Exception e) {
            stats = stats.failedDownload();
            logger.error((org.apache.logging.log4j.util.Supplier>) () -> "error downloading geoip database [" + name + "]"; e);

 

 [ratemypost]