AWS WAF v2New PlanAdvancedFeature / Spec.
The WAF Log Retention Period feature allows WAF logs viewable in certain parts of the WafCharm Console to be stored based on a specified number of days, when WAF log integration is enabled using the new method.
The number of WAF logs that can be viewed in certain parts of the WafCharm Console is fixed for each WafCharm account and limited according to your subscribed plan. By using this feature, the limitation shifts from a log-count limit to a day-based limit, allowing you to view all WAF logs within the specified period regardless of the number of logs.
The names and differences of each restriction type are as follows:
This mode restricts the number of WAF logs that can be viewed across the entire WafCharm account, based on your subscribed plan. The log count limits are as follows:
This day-based mode is provided through the WAF Log Storage expansion feature. There is no restriction on the number of logs, but there is a retention-period limit. You can choose a retention period between 1 and 730 days, and the number of days is configured per WAF Config.
Each mode applies at the WafCharm account level. Even if you have multiple WAF Configs, you cannot switch between Fixed Mode and Expanded Mode for individual WAF Configs.
Example: If you set the retention period to 30 days on October 10, WAF logs from October 10 through November 8 will be retained. Starting November 9, logs from October 10 will no longer be retained.
The WAF Log Retention Period can be configured only when the WAF Log Storage Format is set to Expanded Mode and WAF log integration is enabled for the target WAF Config. For instructions on configuring WAF log integration, see the help pages below.
The WAF Log Storage Format (Fixed or Expanded Mode) is applied at the WafCharm account level. However, the WAF Log Retention Period (days) is configured per WAF Config. The available settings differ depending on the Rule policy. For details, refer to the configuration steps for each policy.
If Fixed Mode is applied to your WafCharm account, you must follow the steps below to switch to Expanded Mode.
If the [WAF Log Storage Format] field shows [Fixed Mode (stores up to 1,000,000 logs)], Fixed Mode is currently applied.
After completing the steps above, the storage format will switch to Expanded Mode. You cannot revert back to Fixed Mode once the mode has been changed.
In Expanded Mode, additional usage fees are charged based on the retention period and the number of stored WAF logs. When you change the WAF Log Storage Format in the [Update WAF Log Storage Format] popup, a fee forecast is generated using the number of days you select under [Retention Period Applied to All WAF Configs] and the estimated number of web requests available at that time.
Please use this information as a reference when selecting a retention period.
When creating a WAF Config or editing it from the [Log and Notification Configuration] tab, specify the number of days under [WAF Log Retention Period]. You can select between 1 and 60 days from the dropdown menu. If you want to retain logs for 61 days or more, select [More than 61 days] and specify the number of days. The retention period can be set between 1 and 730 days.
The [Do not store WAF logs] option allows you to enable or disable certain features that rely on WAF log integration. If this option is selected, WAF log storage is disabled and the following features will no longer be available. If the option is not selected, WAF log storage remains enabled and the following features are also available.
Disabling WAF log storage also prevents any pay-as-you-go charges associated with [Expanded Mode].
Other features remain available even when WAF log storage is disabled. For example, Monthly Reports and WAF Log Alerts (detection notifications) continue to function.
When creating a WAF Config or editing it from the [Log and Notification Configuration] tab, specify the number of days under [WAF Log Retention Period]. You can select between 1 and 60 days from the dropdown menu. If you want to retain logs for 61 days or more, select [More than 61 days] and specify the number of days. The retention period can be set between 1 and 730 days.
The [Do not store WAF logs] option is not available.
In Expanded Mode, additional usage fees are charged based on the retention period and the number of stored WAF logs. This feature allows you to estimate those fees for each WAF Config.
The estimate is calculated using the number of days specified in WAF Log Retention Period on the screen and the value entered in Expected Daily Requests. Adjust the Expected Daily Requests as needed based on your environment.
First, make sure that you have completed the steps in Switching the WAF Log Storage Format from Fixed Mode to Expanded Mode and that Expanded Mode is applied to the relevant WafCharm account.
Once Expanded Mode is applied, you can change the WAF log retention period for each WAF Config by editing it from the [Log and Notification Configuration] tab.