EMEA CA Business Service Insight User Group

 View Only

how to perform the calculation of metrics comparing eventdetails between different eventtype.

  • 1.  how to perform the calculation of metrics comparing eventdetails between different eventtype.

    Posted Oct 06, 2017 01:47 PM

    Hello, someone knows how to perform the calculation of metrics comparing eventdetails between different eventtype.

    Example:

    Whereas there are two eventtypes "requests" and "active",
    where in eventtype "requests" there is eventDetails ("link") and
    in the "Active" eventtype there is eventDetails ("circuit").

    Option Explicit
    Dim Tempoin
    Dim TempoDay

    Sub Onxxevent (EventDetails)
    If eventDetails ("link") = eventDetails ("circuit") then
    Tempoin = Tempoin + Tools.NetTime (eventDetails ("DataIn"), eventDetails ("DataFat"))
    TempoDay = Tempoin / 60/60/24 - eventDetails ("term")
    End If
    End sub