Data Visualization

Data visualization displays data in a sink stream in real time. The data of the digit type in the stream can be displayed in charts.

Currently, data visualization supports only the Flink streaming SQL job whose sink stream type is apig. For details about how to connect CS to API Gateway (APIG), see APIG Sink Stream in the Cloud Stream Service Stream Ecosystem Development Guide.

Procedure

  1. In the navigation tree on the left pane of the CS management console, choose Job Management to switch to the Job Management page.
  2. In the job list, locate the row where a running job capable of sink visualization resides, and click More > Sink Visualization.

    You can also click Sink Visualization in the upper right corner of the Job Details page.

  3. In the displayed Start Listening dialog box, select the target sink stream as required.

    Figure 1 Starting listening

  4. Click OK.

    Figure 2 Real-time data display

  5. (Optional) Click in the upper right corner of the area for each chart, edit the chart type and the target listening field.

    Figure 3 Editing chart parameters
    • Chart Type: The following chart types are supported: line chart, bar chart, and dashboard.
    • Listening Field: You can select the data of the digit type in the sink stream.

  6. (Optional) To stop listening, click Stop Listening in the upper right corner.