Changing limits for automatic artifact cleanup using the CLI

Prev Next

You can change the artifact cleanup limits to automatically delete disk space based on the volume of artifacts your appliance typically processes and the amount of disk space you have available. You can change these using CLI commands only and these CLI commands must be executed only on the Broker node.

To change artifact cleanup limits:

  1. Go to CLI configuration mode:

    hostname # enable

    hostname # configure terminal

  2. Show the current limits:

    • For IVX version 11.x, run the following CLI command:

      hostname (config) # show mvx analysis cleanup config

      The following result is displayed:

      Non-malicious  : 2 Days
      Non-malicious  : 100 GB
      Malicious      : 30 Days
      Malicious      : 200 GB
    • hostname (config) # show analysis artifacts-cleanup

      Results for IVX 11.x:

      Malicious VM Captures:
      Keep Size (GB) : 20
      Keep Days : 30
      Malicious Emails:
      Keep Size (GB) : 20
      Keep Days : 30
      Non Malicious VM captures:
      Keep Size (GB) : 20
      Keep Days : 15
  3. Specify new limits for any settings you want to change:

    • To change the limit for malicious files/artifacts by day (applicable only for IVX version 11.x and later):

      hostname (config) # mvx analysis cleanup malicious data keep days 30
    • To change the limit for non-malicious files/artifacts by day (applicable only for IVX version 11.x and later):

      hostname (config) # mvx analysis cleanup non-malicious data keep days 15
    • To change the limit for malicious files/artifacts by size (applicable only for IVX version 11.x and later):

      hostname (config) # mvx analysis cleanup malicious data keep size 200
    • To change the limit for non-malicious files/artifacts by size (applicable only for IVX version 11.x and later):

      hostname (config) # mvx analysis cleanup non-malicious data keep size 100
  4. Save your changes.

    hostname (config) # write memory