Print, Save, and Export Transaction Trace Information

You can perform these activities with transaction trace information:
apmdevops106
You can perform these activities with transaction trace information:
  • Print a transaction trace window.
  • Save transaction trace data as an XML file that can be opened later in a Transaction Trace window.
  • Export Transaction Trace data as a text file for review in a text editor.
2
2
Print a Transaction Trace Window
Follow these steps:
  1. Select Workstation > Print Window.
    The Page Setup window opens. The print defaults are letter size and portrait orientation.
  2. Click OK to proceed, or change options then click OK.
    The Print window appears.
  3. Select printing options, then click OK.
    Note:
    Printing a page range is not supported (everything prints on one page).
The contents of the entire Transaction Trace window prints, scaled to fit on one page.
Save Transaction Trace Data
Save transaction trace data to an XML file. Later you can open the file in a transaction trace window to reproduce the transaction trace.
Follow these steps:
  1. In the Transaction Trace Viewer, select the Transaction Traces to save:
    • CTRL + click to select multiple Transaction Traces.
    • Edit > Select All to select all Transaction Traces in the window.
  2. Click Save As.
  3. Open the file or select a location in which to save the file.
  4. If you are saving the file, enter a file name, and click Save.
Opening Saved Transaction Tracer XML Data
You can open and view saved Transaction Trace data in a new Transaction Trace window. You can share the saved files through e-mail or stored the files on a shared network drive. Sharing the files enables users to collaborate on problem analysis.
When opening saved Transaction Trace data:
  • You cannot restart the Transaction Trace session being viewed.
  • Links from Transaction Trace components to their metric paths are unavailable if the metric paths are not live in the Enterprise Manager to which the Workstation is connected.
To open saved Transaction Trace data in an XML file:
  1. Select Workstation > Query Historical Events
  2. Select Trace > Open Saved Events (XML).
  3. Select the XML file from the browser window, and click Open.
    The data in the XML file appears in a new Historical Query window.
    Note:
    When you view saved historical events in an XML file, correlated events are displayed, but are not shown as correlated. To see the correlation for historical events in a Transaction Trace, view an active trace (see Querying for correlated events).
Now you can perform these actions:
  • Export a Transaction Trace as a text file
  • Select Transaction Traces within the data and save them as a new XML file.
Export a Transaction Trace to a Text File
To export Transaction Traces to a text file:
  1. In the Transaction Trace Viewer, select the Transaction Traces to export:
    • CTRL + click to select multiple Transaction Traces
    • Edit > Select All to select all Transaction Traces in the window.
  2. Select Trace > Export.
  3. Select a location to save the file, and name the file (default name is
    <root component type>_<root component name>.txt
    .), and click OK.
Sample Transaction Trace XML File
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <TransactionTracerSession EndDate="2005-03-15T17:28:13.953-08:00" Version="0.1" Duration="32" StartDate="2005-03-15T17:28:13.921-08:00" User="Admin"> <TransactionTrace Duration="32" Domain="SuperDomain" EndDate="2005-03-15T17:28:13.953-08:00" AgentName="WebLogic Agent" Host="rnadimpalli-dt3" StartDate="2005-03-15T17:28:13.921-08:00" Process="WebLogic"> <CalledComponent MetricPath="Servlets|ActionServlet" ComponentName="ActionServlet" Duration="32" ComponentType="Servlets" RelativeTimestamp="0"> <CalledComponents> <CalledComponent MetricPath="JSP|__register" ComponentName="__register" Duration="16" ComponentType="JSP" RelativeTimestamp="16"> <CalledComponents> <CalledComponent MetricPath="JSP TagLib|HtmlTag|doStartTag" ComponentName="doStartTag" Duration="0" ComponentType="JSP TagLib" RelativeTimestamp="16"> <Parameters> <Parameter Value="doStartTag" Name="Method"/> </Parameters> </CalledComponent> <CalledComponent MetricPath="JSP TagLib|BaseTag|doStartTag" ComponentName="doStartTag" Duration="0" ComponentType="JSP TagLib" RelativeTimestamp="16"> <Parameters> <Parameter Value="doStartTag" Name="Method"/> </Parameters> </CalledComponent> <CalledComponent MetricPath="JSP TagLib|MessageTag|doStartTag" ComponentName="doStartTag" Duration="0" ComponentType="JSP TagLib" RelativeTimestamp="16"> <Parameters> <Parameter Value="doStartTag" Name="Method"/> </Parameters> </CalledComponent> <CalledComponent MetricPath="JSP TagLib|MessageTag|doStartTag" ComponentName="doStartTag" Duration="0" ComponentType="JSP TagLib" RelativeTimestamp="16"> <Parameters> <Parameter Value="doStartTag" Name="Method"/> </Parameters> </CalledComponent> </TransactionTrace> </TransactionTracerSession>