Self host cluster no geoip data

I haven been trying to get geoip data but logs show

attempt to download database [GeoLite2-Country.mmdb] failed

I suspect it is a authentication issue and that I need to add them to the domain list.

image

How Is this accomplished and is there a way to use Dev Tools Counsel in Kibana to not have to restart the cluster?

No, this means that your server is not able to download the geoip information from the internet.

Your server needs to be able to access the specified domains, but this configuration is done outside elasticsearch, it depends on your infrastructure, if you have a proxy or not etc.

Would I need to do this manually? And what would I need to configure? we do not have a proxy

Can you share the full log error ?

The line you shared means that it could not download the database with the geoip information, this could mean that your server is not able to access the endpoint to download it.

You need to check if your server is able to access the endpoint to download it, if you do not have a proxy you need to check if you have any firewall blocking outgoing connections.

This is related to your infrastructure.

15:00:16.503
elasticsearch.server
[elasticsearch.server][TRACE] Retrieving database GeoLite2-City.mmdb
15:00:16.504
elasticsearch.server
[elasticsearch.server][ERROR] attempt to download database [GeoLite2-Country.mmdb] failed
15:00:16.504
elasticsearch.server
[elasticsearch.server][TRACE] Retrieving database GeoLite2-Country.mmdb
15:00:16.505
elasticsearch.server
[elasticsearch.server][ERROR] attempt to download database [GeoLite2-ASN.mmdb] failed
15:00:16.505
elasticsearch.server
[elasticsearch.server][TRACE] Retrieving database GeoLite2-ASN.mmdb
15:10:16.284
elasticsearch.server
[elasticsearch.server][TRACE] Retrieving database GeoLite2-City.mmdb

This is the logs

i am able to ping both

This is the output for the GET _ingest/geoip/stats

{
  "stats": {
    "successful_downloads": 0,
    "failed_downloads": 0,
    "total_download_time": 0,
    "databases_count": 0,
    "skipped_updates": 0,
    "expired_databases": 0
  },
  "nodes": {}
}