DX Application Performance Management

Expand all | Collapse all

Live Error Viewer error message processing

  • 1.  Live Error Viewer error message processing

    Posted 03-27-2019 10:48 AM

    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: D100ABCD1234
    Process: LibertyProfile
    Agent: abc.as12345.1
    Date: 2019-03-26T08:09:45.999+01:00
    Component Name: WebService at https_//abc.intern_443
    Component Type: Backends
    Metric Path: Backends|WebService at https_//abc.intern_443
    Trace Type: ErrorSnapshot
    Error Messages: Backends|WebService at https_//abc.intern_443|Paths|Default: java.net.SocketTimeoutException: Read timed out
    User ID:


    My question,
    any more easy way to get the data without polling the information every 10 minutes.


    Any plan, to make these information available inside APM Introscope via JavaScript Calculator or
    via Alerts and Actions in a Management Module like the metrics data for example.


    Thanks for any suggestion,


    We use APM 10.5.1 with AIX.

  • 2.  Re: Live Error Viewer error message processing

    Posted 03-29-2019 12:05 PM

    Do you have suggestions for Lutz?

  • 3.  Re: Live Error Viewer error message processing

    Posted 04-01-2019 05:58 PM

    Hello Hallett,

    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.

    With regards,


  • 4.  Re: Live Error Viewer error message processing

    Posted 04-02-2019 08:35 AM

    Thanks Lutz for sharing!