geoip-purge

Deletes older version database files from the GeoIP service.

Command properties

ItemDescription
Command typeDriver query
Required permissionNone
License usageNot counted
Parallel executionNot supported
Distributed executionNot supported

Syntax

geoip-purge [profile=STR]

Options

profile=STR
GeoIP connect profile identifier. If omitted, runs against all registered GeoIP type connect profiles.

Output fields

FieldTypeDescription
event_timetimestampTime when the deletion operation completed

Error codes

Parse errors
Error codeMessageDescription
209800사용 가능한 GeoIP 프로파일이 없습니다.No GeoIP connect profiles are registered or accessible
209801GeoIP 프로파일 이름을 입력하세요.The profile option is required but not specified
Runtime errors

N/A

Description

The geoip-purge command deletes unused older version database files from the GeoIP service. It keeps only the latest version of the database and removes previous data to free up disk space.

When you specify the profile option, the deletion is performed on the GeoIP service associated with that connect profile. If you omit the profile option, the deletion is performed against all registered GeoIP connect profiles.

Examples

  1. Delete old GeoIP data

    geoip-purge
    

    Deletes older version database files from all registered GeoIP connect profiles.

  2. Delete old data using a specific connect profile

    geoip-purge profile=geoip_main
    

    Deletes older version database files from the GeoIP service associated with the geoip_main connect profile.