---
type: api
title: Get geoip databases statistics
description: Get license checks and download status of [Geoip filter plugin](https://www.elastic.co/guide/en/logstash/current/plugins-filters-geoip.html).
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/logstash/operation/operation-nodestatsgeoipdownloadmanager
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/logstash/operation/operation-nodestatsgeoipdownloadmanager
products:
  - Logstash
---

# Get geoip databases statistics

- Server: `/`

## Paths

- `GET` `/_node/stats/geoip_download_manager`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/logstash/authentication#basicauth)

## Description

Get license checks and download status of [Geoip filter plugin](https://www.elastic.co/guide/en/logstash/current/plugins-filters-geoip.html).

## Query String Parameters

- `pretty` (boolean)
  If you append `?pretty=true` to the request, the JSON returned will be pretty formatted. Use it for debugging only!

## Response

A JSON object containing geoip database license and download status.

`application/json`

- `geoip_download_manager` (object)
  - `database` (object)
    - `ASN` ({} GeoIPDBLicenseStats)
      - `status` (enum)
        The status of the database license.
        Values: `init`, `up_to_date`, `to_be_expired`, `expired`
      - `fail_check_in_days` (integer)
        The number of days since the last successful check.
      - `last_updated_at` (string)
        The last update timestamp.
    - `CITY` ({} GeoIPDBLicenseStats)
      - `status` (enum)
        The status of the database license.
        Values: `init`, `up_to_date`, `to_be_expired`, `expired`
      - `fail_check_in_days` (integer)
        The number of days since the last successful check.
      - `last_updated_at` (string)
        The last update timestamp.
  - `download_stats` (object)
    - `successes` (integer)
      The number of successful checks and downloads
    - `failures` (integer)
      The number of failed check or downloads
    - `last_checked_at` (string)
    - `status` (enum)
      The last download status.
      Values: `succeeded`, `failed`, `updating`
## Code Examples

#### Console

```console
GET /_node/stats/geoip_download_manager
```

#### curl

```curl
curl -X GET "/_node/stats/geoip_download_manager"
```

