After you create a log analysis dashboard, you can edit or delete log charts on the dashboard or create a new log chart by copying an existing chart.

Prerequisites

You have created a log analysis dashboard. For more information, see Step 1: create a WAF log analysis dashboard.

Background information

This practice provides 13 default chart configuration examples. For more information, see WAF log charts and alert configuration examples. We recommend that you learn the alert configuration steps before you create a chart based on the examples and configure alerts during the chart creation process. For more information about alert configuration, see Step 3: Configure a log alert.

Procedure

  1. Enter the customized WAF log analysis dashboard.
  2. In the upper-right corner of the dashboard, click Edit.Edit a chart
    The dashboard enters the edit mode. In this mode, you can edit or delete the charts on the dashboard or copy a chart to create a new chart.
  3. Edit a chart.
    1. Find the chart to be edited, move the pointer over the Actions icon in the upper-right corner of the chart, and click Edit.Actions on charts
    2. On the Edit page, modify the chart configurations, such as Chart Name, SQL statements, relative data collection period, and chart type. Click OK.
      Note If you have modified the SQL statements, you must click Preview before you click OK. This operation allows the system to check the statement validity. If the SQL statements are invalid, an error message appears, and the OK button becomes unavailable. You can click OK only after you make sure the statements are valid.
      Edit a chart
  4. Copy a chart to create a new chart.
    1. Find the chart to be copied. Move the pointer over the Actions icon in the upper-right corner of the chart, and click Copy.
      After you copy a chart, an identical chart appears.Copy a chart
    2. Drag the new chart and drop it at an appropriate position on the dashboard.
    3. Modify the information of the new chart, including the chart name and the SQL statements.
  5. Repeat steps 3 and 4 to create more charts for diversified data visualization and alert configurations.

What to do next

Step 3: Configure a log alert