@Override public void printMessageUserData(IStructuredOutputWriter out,String msgId) throws Exception {
  final MsgData data=m_msgData.get(msgId);
  if (data == null) {
    out.simpleChild("totalInstances",0);
    return;
  }
  out.simpleChild("intervalSeenIn",data.m_intervalAllCount);
  out.simpleChild("totalInstances",data.m_allCount);
  out.simpleChild("intervalsSeenInOutOfContext",data.m_intervalCount);
  out.simpleChild("totalInstancesOutOfContext",data.m_totalLogCounts);
  if (data.m_totalLogCounts > 0) {
    out.simpleChild("estimatedLambda",data.m_lambda);
    out.simpleChild("instanceCountForAnomaly9",calcThreshold(0.9,data.m_lambda));
    out.simpleChild("instanceCountForAnomaly99",calcThreshold(0.99,data.m_lambda));
  }
}

@ Override public void printMessageUserData ( IStructuredOutputWriter out , String msgId ) throws Exception { final MsgData data = m_msgData . get ( msgId ) ; if ( data == null ) { out . simpleChild ( "totalInstances" , 0 ) ; return ; } out . simpleChild ( "intervalSeenIn" , data . m_intervalAllCount ) ; out . simpleChild ( "totalInstances" , data . m_allCount ) ; out . simpleChild ( "intervalsSeenInOutOfContext" , data . m_intervalCount ) ; out . simpleChild ( "totalInstancesOutOfContext" , data . m_totalLogCounts ) ; if ( data . m_totalLogCounts > 0 ) { out . simpleChild ( "estimatedLambda" , data . m_lambda ) ; out . simpleChild ( "instanceCountForAnomaly9" , calcThreshold ( 0.9 , data . m_lambda ) ) ; out . simpleChild ( "instanceCountForAnomaly99" , calcThreshold ( 0.99 , data . m_lambda ) ) ; } }
prints out model information for a specific message id .
