IBM Streams 4.2

Viewing streaming data in Streams Studio

In Streams Studio, you can use the Properties view for an output port to show data that is flowing through an IBM® Streams application.

About this task

You can view streaming data in table format in Streams Studio. To view data in chart format, use the Streams Console.

If you run an application multiple times, you must choose to show the data and configure the data visualization settings each time. Streams Studio does not save views and cannot use views that you created in Streams Console.

Procedure

  1. Determine which application, operator, and output port you want to monitor.

    In IBM Streams, you can view streaming data from an output port only. If you want to view the input data to a sink operator that is fed from multiple output ports, you can merge the data streams. For example, you can add a Filter operator before the sink operator and then monitor the output port of the filter.

    If the application has user-defined parallelism, you can use Streams Studio to view streaming data on logical or physical operators. If you choose a logical operator, you see all the tuples that flow through the channels in the physical view of the application. If you choose a physical operator, you see only the tuples from that specific channel.

    Tip: Review the operators, ports, and tuple metrics for your application in the application graph in Streams Studio.
  2. Verify that the stream is viewable.

    By default, data streams are viewable. If the SPL streamViewability operator configuration is set to false, the data stream is not viewable.

  3. Run your application.
  4. Open the Instance Graph, Streams Explorer or Metrics view.
  5. Select one of the following for the job that you want to monitor:
    • The output port for the operator
    • The stream connection
  6. Right-click and select Show Data.
  7. In the Data Visualization settings dialog, choose the attributes that you want to display and set filtering and buffering options.
    Tip: Select only the attributes that you need. Reducing the number of columns in the table makes it easier to view the relevant data.
  8. Press OK. The properties view for the output port opens.
  9. Select the Data tab to see the streaming data.

Results

While the job runs, you can see the data in the stream as it flows through the application.