首先,我们需要获取.geoip_databases索引的详细信息,包括其分片配置、状态等。这可以通过Elasticsearch的GET索引API来实现。 bash GET /.geoip_databases 这个命令将返回.geoip_databases索引的详细信息,包括分片数量、副本数量以及每个分片的状态。 确认.geoip_databases索引的主分片(primary shards)状态: 在获取到的索...
实际上在第一次启动Elasticsearch的时候运行是正常的,并没有出现这个错误,从日志来看,确实Elasticsearch自动创建了一个名为.geoip_databases的索引,并且自动下载了geoip数据库,名为GeoLite2-ASN.mmdb,当重新启动以后程序会自动去更新这个数据库。 代码语言:javascript 代码运行次数:0 运行 AI代码解释 [2022-12-14T14...
报错:exception during geoip databases updateorg.elasticsearch.ElasticsearchException: not all primary s...
初次启动Elasticsearch时,一切运行正常,Elasticsearch自动创建名为.geoip_databases的索引,下载并使用名为GeoLite2-ASN.mmdb的geoip数据库。重启后系统自动更新数据库。根据错误提示,可能存在分片状态非活跃问题。使用_cat API查询.geoip_databases索引的分片状态,发现有一个编号为0的主分片,状态为STARTED...
geoip_databases] creating index, cause [auto(bulk api)], templates [], shards [1]/[0] [2022-12-14T14:30:42,463][INFO ][o.e.c.r.a.AllocationService] [node1] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.geo...
这个异常是在Elasticsearch启动的过程中报的error,如下所示,从提示信息来看是因为GeoIpDownloader更新数据库失败导致。 [2023-02-01T15:34:09,249][ERROR][o.e.i.g.GeoIpDownloader ] [node1] exception during geoip databases updateorg.elasticsearch.ElasticsearchException: not all primary shards of [.geoip...
把network.host改成局域网的IP(cmd用 ipconfig查询),别用默认的localhost,不然可能启动不成功 增加这个配置 不然可能启动爆下面的错误,它启动时会去更新地图的一些数据库,这里直接禁掉即可,用到时再说 exception during geoip databases updateorg.elasticsearch.ElasticsearchException: not all primary shards of [.geo...
实际上在第一次启动Elasticsearch的时候运行是正常的,并没有出现这个错误,从日志来看,确实Elasticsearch自动创建了一个名为.geoip_databases的索引,并且自动下载了geoip数据库,名为GeoLite2-ASN.mmdb,当重新启动以后程序会自动去更新这个数据库。
1.exception during geoip databases update 此版本将GeoIp功能默认开启了采集。在默认的启动下是会去官网的默认地址下获取最新的Ip的GEO信息 解决:在elasticsearch.yml中添加配置 ingest.geoip.downloader.enabled:false 2.max file descriptors [4096] for elasticsearch process is too low, increase to at least ...
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open .geoip_databases fjfmnkm2RZKMHtGbBQGweg 1 0 41 39 40.1mb 40.1mb green open .kibana_7.15.0_001 mKyI2n3oSaK-U7-BIepohA 1 0 51 5 2.3mb 2.3mb green open .apm-custom-link 4m9W5TxCRJSs8I6G...