Imperva Cyber Community

communities_1.jpg
ย View Only
Expand all | Collapse all

How to Purge Already Archived Logs on Imperva DAM Gateway via CLI?

  • 1.  How to Purge Already Archived Logs on Imperva DAM Gateway via CLI?

    Posted 07-23-2025 07:49

    Hi everyone,
    I'm currently working on Imperva DAM (v14.19) and need some guidance on purging already archived logs directly from the Gateway via CLI.

    I've gone through the documentation for:

    • System Events Archive

    • Assessment Results Archive

    • Audit Archive settings

    But most of what I found refers to purging from the GUI, using "Archive and Purge Now" or "Purge Now" options.

    My use case is specifically for the CLI โ€“ I want to manually purge or delete old archive files that have already been archived to avoid consuming too much disk space.

    Has anyone done this before?

    • Where exactly are the archived files stored on the Gateway?

    • Is it safe to use rm or find to delete them manually?

    • Are there any built-in CLI tools or scripts from Imperva to handle this safely?

    Any advice, commands, or best practices would be really appreciated ๐Ÿ™
    Thanks in advance!

    #Imperva #DAM #AuditLogs #CLI #SecurityOps 


    #DatabaseActivityMonitoring

    ------------------------------
    Joy Ampitan
    Security Engineer
    Ethnos Cyber Limited
    Lagos
    ------------------------------


  • 2.  RE: How to Purge Already Archived Logs on Imperva DAM Gateway via CLI?

    Posted 07-25-2025 15:07

    Hi Joy,

    We purged the old audit archives using the options present on MX GUI only.

    Did you raise any support ticket? What did they suggest?

    Regards,



    ------------------------------
    SBISOC 4430
    Manager
    Mumbai
    ------------------------------