IBM Support

Converting XML output from DSA logs into HTML

Question & Answer


Question

How do I convert XML output from DSA diagnostic logs into HTML?

Answer

The IBM Dynamic System Analysis (DSA) collectall command can be run on a customer appliance to collect configuration and status information for a system. Command output is returned as a large, gzipped XML file. While IBM prefers to receive these files as XML, you can easily convert a copy to HTML for your own ease of viewing and navigating. (Refer to How to Collect DSA Diagnostic Logs, referenced below, for details on collecting the logs.)

1. If you don't already have it, download the latest DSA portable edition for your laptop into the C:\IBM_Support directory on your local hard drive. You can find this file on the IBM Support website.

2. For ease of use, rename the file to DSA.exe.

3. Place the XML file received from the customer (filename.xml.gz) in the same directory as the DSA executable you just downloaded. Again, this is for ease of use.

4. From the Windows command line, navigate to the directory where the files are located and run the following command:

    dsa.exe -ux -x -v -i C:\IBM_Support\filename.xml.gz

Once this completes, there will be a new directory under C:\IBM_Support. The output from the dsa.exe command indicates the name of the directory; it is based on the converted file name. Open the index.html file in the new directory to view the DSA log in a readable format. Note that the original XML file is unchanged.
[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ359926

Document Information

More support for:
IBM PureData System

Software version:
1.0.0

Document number:
196557

Modified date:
17 October 2019

UID

swg21577118