Any way to export errors from the Investigator in Introscope Workstation

Document ID : KB000110061
Last Modified Date : 21/08/2018
Show Technical Document Details
Question:
Is there a way to export thousands of errors under the Errors Tab of the Investigator for a monitored application?
Answer:
There are 2 ways to export the "Errors" tab information to a file:

1. You can query historical events through CLW. Below is the syntax you would use.

get historical events matching [REGULAR EXPRESSION]
get historical event summaries matching [REGULAR EXPRESSION]

The following are couple of examples provided.

jre\bin\java -Xmx512m -Duser=Admin -Dpassword= -Dhost=EM -Dport=5001 -jar lib\CLWorkstation.jar get historical events matching \"host:<someHost> AND type:errorsnapshot AND time:[2018012008 TO 2018012009] AND url:/<someUrl>/\"

or

jre\bin\java -Xmx512m -Duser=Admin -Dpassword= -Dhost=EM -Dport=5001 -jar lib\CLWorkstation.jar get historical events matching \"host:<someHost> AND type:errorsnapshot AND time:[2018012008 TO 2018012009]\"


2- To export Error Events from Workstation directly

- In Workstation menu, click on Query Historical events
- In the Query box, enter type:errorsnapshot and select required time range to search for all Error events
- Click Edit > Select All to select all the events,
- Select Trace > Export to save these events as a xml fileĀ or else Trace > Save As to save as a text file.