You can export the captured messages in the trace log to a CSV (Comma-Separated Values) file that can be opened by applications such as Excel that are designed to accommodate this file type. This enables you to create a filter to display only the messages from the specific data paths you want to examine.
The number of events that can be held in the trace log is limited by system memory. For this reason, HP recommends that you export to a remote storage location any trace log content you want to retain, and to clear the controller trace log whenever its content is not needed on the controller itself.
Starts trace logging.
In the default configuration, the trace stops after ten seconds have passed. (To change the trace interval, see “Changing the OpenFlow trace interval ”.)
Stops trace logging before the end of the configured trace interval.
Trace logging stops automatically at the end of the configured trace interval.
Multiple consecutive traces can be held in the trace log. To add additional trace results, start another trace.
Clears (resets) the current trace log.
To preserve the contents of the trace log before clearing it, see “Exporting the OpenFlow trace log”.
Displays details of the selected trace event.
Copies the trace log into a CSV (comma-separated values) file. See see “Exporting the OpenFlow trace log”.
The time the message event was generated.
The event type. For example:
The DPID (data path ID) of the data path associated with the event.
The trace message.
Use the buttons above the Time field to control trace operations (see “OpenFlow trace display details”).
NOTE: This section shows how to export and access OpenFlow Trace Log files using Google Chrome. You might experience different results than shown here, depending on your web browser and its configuration.
Click . This action places the trace log contents into a CSV file in the default downloads folder in the system on which the controller is running. Check your web browser for an indication that the file has been created.
To display and filter the CSV file content, see “Filtering the OpenFlow trace log in a CSV file”.
In the resulting folder listing, locate the
of-trace.csv file and open it using an application, such as Excel, that enables you to read the log messages and configure a filter. For example, to investigate the messages collected for data path 00.00.00.00.00.00.00.02: