expire

The expire commands are used to delete expired historical data following the configured data retention settings.

Options and syntax

Note

These commands will permanently delete data and should be used with caution.

expire dnscache [all]

Purges expired DNS cache data (based on the Days of DNS Request Data setting) or, if the all option is included, all DNS cache data

expire history [trim]

Purges expired flow data (based on the Flow Historical X Avg settings and, if the trim option is included, also deletes older data until the Minimum Percent Free Disk Before Trimming is free

expire inactiveflows

Removes expired inactive interfaces (based on the Inactive Expiration system preference setting) from interface views

expire templates

Purges flow template metadata for templates that haven’t been observed for 30 days