The replay script sends previously captured test data to Apache Kafka to exercise the sample analytics pipeline. You can use this to test that the sample analytics pipeline is installed and functioning properly.
Before you begin
Ensure that the sample analytics pipeline is installed and
started. For more information, see Installing and configuring.
Procedure
On the collection server or single-server
configuration, enter the following command to change your directory to the
tpf_utility_scripts directory: cd
~/tpf_sap/tpf_files/tpf_utility_scripts

- On the collection server or single-server configuration, enter the following command to
start the replay script:
./tpf_start_replay_script.sh
scenario_lowVolTraffic
For more information about the replay script, see the
tpf_sap/tpfReplayScript/README.txt file that is included with the sample analytics pipeline.
- Open Grafana in a browser at
http://your.server.name.com:3000 or
http://your.analytics.server.name.com:3000.
where
your.server.name is the name of your server in a single-server configuration and
your.analytics.server is the name of your analytics server in a dual-server
configuration.
- Open a dashboard. For example, click
. Set the
time picker to Last 15 minutes.
- For the Application Dimension, select Message Type,
SubType, Origin.
After 15 minutes of baseline data, the message rate from the
low volume message type will increase slightly, corresponding to a rise in CPU utilization. The
Message Type, SubType, Origin Rate Correlated to Actual System CPU panel
indicates that name-value pair collection data is
insufficient for the [Shopping, Air, Terminal] horizontal name-value pair combination.
- Change the Analysis Type to Aggregate to see the
correlation highlighted.
What to do next
If data does not flow, see Diagnosing the sample analytics pipeline when data is not flowing.The JAR files for the
replay script include the source if you would like to modify it.