Hello all folks,I try to implement a script to forward some events are shown in the Live Error Viewer to a central alarm console.
Today I use something like this to get the events.CLWorkstation.jar get historical event summaries matching "time:[20190326080009 TO 20190326081009] AND type:errorsnapshot"
I get all the information I'm interesting in, like this.Host: D100ABCD1234Process: LibertyProfileAgent: abc.as12345.1Date: 2019-03-26T08:09:45.999+01:00Component Name: WebService at https_//abc.intern_443Component Type: BackendsMetric Path: Backends|WebService at https_//abc.intern_443Trace Type: ErrorSnapshotError Messages: Backends|WebService at https_//abc.intern_443|Paths|Default: java.net.SocketTimeoutException: Read timed outURL:User ID:
My question,any more easy way to get the data without polling the information every 10 minutes.
Thanks for any suggestion,Lutz
p.s.We use APM 10.5.1 with AIX.
Do you have suggestions for Lutz?
I fix the problem myself by writing a small java tool to read the "type:errorsnapshot" data from the APM Introscope internal "trace_headers" table view. Unfortunately the CLWorkstaion.jar is not able to do the job well.
The problem is, the used timestamps are limited to a hour range in the CLWorkstation.jar.
Thanks Lutz for sharing!