diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 1593128e85..1d2f85234e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -84845,21 +84845,26 @@ "total_download_time": { "$ref": "#/components/schemas/_types:DurationValueUnitMillis" }, - "database_count": { + "databases_count": { "description": "Current number of databases available for use.", "type": "number" }, "skipped_updates": { "description": "Total number of database updates skipped.", "type": "number" + }, + "expired_databases": { + "description": "Total number of databases not updated after 30 days", + "type": "number" } }, "required": [ "successful_downloads", "failed_downloads", "total_download_time", - "database_count", - "skipped_updates" + "databases_count", + "skipped_updates", + "expired_databases" ] }, "ingest.geo_ip_stats:GeoIpNodeDatabases": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 3869560695..a8978a042e 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -139469,7 +139469,7 @@ }, { "description": "Current number of databases available for use.", - "name": "database_count", + "name": "databases_count", "required": true, "type": { "kind": "instance_of", @@ -139490,9 +139490,21 @@ "namespace": "_types" } } + }, + { + "description": "Total number of databases not updated after 30 days", + "name": "expired_databases", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } } ], - "specLocation": "ingest/geo_ip_stats/types.ts#L24-L35" + "specLocation": "ingest/geo_ip_stats/types.ts#L24-L37" }, { "kind": "interface", @@ -139514,7 +139526,7 @@ } } ], - "specLocation": "ingest/geo_ip_stats/types.ts#L45-L48" + "specLocation": "ingest/geo_ip_stats/types.ts#L47-L50" }, { "description": "Downloaded databases for the node. The field key is the node ID.", @@ -139555,7 +139567,7 @@ } } ], - "specLocation": "ingest/geo_ip_stats/types.ts#L37-L43" + "specLocation": "ingest/geo_ip_stats/types.ts#L39-L45" }, { "attachedBehaviors": [ diff --git a/output/typescript/types.ts b/output/typescript/types.ts index c6b227f1c8..0a91d3a85a 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -12537,8 +12537,9 @@ export interface IngestGeoIpStatsGeoIpDownloadStatistics { successful_downloads: integer failed_downloads: integer total_download_time: DurationValue - database_count: integer + databases_count: integer skipped_updates: integer + expired_databases: integer } export interface IngestGeoIpStatsGeoIpNodeDatabaseName { diff --git a/specification/ingest/geo_ip_stats/types.ts b/specification/ingest/geo_ip_stats/types.ts index 7e6c034c9a..d089d85cdb 100644 --- a/specification/ingest/geo_ip_stats/types.ts +++ b/specification/ingest/geo_ip_stats/types.ts @@ -29,9 +29,11 @@ export class GeoIpDownloadStatistics { /** Total milliseconds spent downloading databases. */ total_download_time: DurationValue /** Current number of databases available for use. */ - database_count: integer + databases_count: integer /** Total number of database updates skipped. */ skipped_updates: integer + /** Total number of databases not updated after 30 days */ + expired_databases: integer } /** Downloaded databases for the node. The field key is the node ID. */