I write the script to transform our raw data into this JSON bulk format.Here comes 2 records from bulk of the sample data below. May Looks like a bit huge
one time period(18:15:00) mapping multiple thoudsands of nodenames(ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1)
one nodename mapping
thoudsands of objects(XXXXX....msrbs_ManagedElement=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,msrbs_Transport=1,msrbs_SctpEndpoint=1,msrbs_SctpAssociation=36422-10.244.10.225)
one nodename mapping several cellnames.
one record will involve different number of counters. The counter is like Class.counter. It will involve caculate the KPI based on the counter value between same/different Class.
The formula just like
KPI_a = ClassA.counter1+ClassB.counter2/(ClassA.counter1+ClassB.counter2)
I want to calculate the result based on different aggreagted level.(Time period level, nodename level, cell name level or counter/object level)
I am not sure if there is better way to optimze the model. Kindly adivse . thank you so much.
{ "index":{ "_index": "eric_stlsg_lte","_type":"pm","_id":"2018-02-19-18:15:00_ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1_SubNetwork=ONRM_ROOT_MO_R,SubNetwork=ENB_CHANGI,MeContext=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,ManagedElement=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,Transport=1,SctpEndpoint=1,SctpAssociation=36422-10.244.10.225"}}
{"time":"2018-02-19 10:15","object":"SubNetwork=ONRM_ROOT_MO_R,SubNetwork=ENB_CHANGI,MeContext=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,msrbs_ManagedElement=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,msrbs_Transport=1,msrbs_SctpEndpoint=1,msrbs_SctpAssociation=36422-10.244.10.225","nodename":"ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1","nodetype":"MSRBS","nwid":"stlsg","ropfilename":"MSRBS_2018-02-19-18:15:00_ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1","SctpAssociation.pmSctpAssocInDataChunks":"0","SctpAssociation.pmSctpAssocOutDataChunks":"0","SctpAssociation.pmSctpAssocTimeUnavail":"0","SctpAssociation.pmSctpAssocCongestions":"0","SctpAssociation.pmSctpAssocInDiscardedDataChunks":"0","SctpAssociation.pmSctpAssocInAbnormalDataChunks":"0","SctpAssociation.pmSctpAssocOutControlChunks":"1500","SctpAssociation.pmSctpAssocInOctets":"138000","SctpAssociation.pmSctpAssocRtxChunks":"0","SctpAssociation.pmSctpAssocInDiscardedControlChunks":"0","SctpAssociation.pmSctpAssocOutDiscardedDataChunks":"0","SctpAssociation.pmSctpAssocOutDiscardedUserMsgs":"0","SctpAssociation.pmSctpAssocInPacks":"1500","SctpAssociation.pmSctpAssocInAbnormalControlChunks":"0","SctpAssociation.pmSctpAssocOutOctets":"138000","SctpAssociation.pm_count":"1","SctpAssociation.pmSctpAssocOutPacks":"1500","SctpAssociation.pmSctpAssocInControlChunks":"1500","SctpAssociation.pmSctpAssocAborteds":"0"}
{ "index":{ "_index": "eric_stlsg_lte","_type":"pm","_id":"2018-02-19-18:15:00_ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1_SubNetwork=ONRM_ROOT_MO_R,SubNetwork=ENB_CHANGI,MeContext=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,ManagedElement=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,ENodeBFunction=1,EUtranCellFDD=7339278"}}
{"time":"2018-02-19 10:15","object":"SubNetwork=ONRM_ROOT_MO_R,SubNetwork=ENB_CHANGI,MeContext=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,msrbs_ManagedElement=ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1,msrbs_ENodeBFunction=1,msrbs_EUtranCellFDD=7339278","nodename":"ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1","nodetype":"MSRBS","nwid":"stlsg","ropfilename":"MSRBS_2018-02-19-18:15:00_ENB_733927_SATS_Inflights_Catering_Centre_1_SICC1","cellname":"7339278","EUtranCellFDD.pmMimoSleepTime":"0","EUtranCellFDD.pmPucchCqiResLongUtilCell":"0","EUtranCellFDD.pmRadioUeRepCqiSubband1Sum":"2088","EUtranCellFDD.pmTtiBundlingUeMax":"0","EUtranCellFDD.pmRlcPollRetxDl":"305","EUtranCellFDD.pmUeCtxtRelCsfbCdma1xRtt":"0","EUtranCellFDD.pmPrbUtilUlDistr":[898,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"EUtranCellFDD.pmRlcPollRetxUl":"138","EUtranCellFDD.pmErabRelNormalEnbActArp":[0,0,0,3],"EUtranCellFDD.pmErabRelNormalEnbArp":[0,0,0,23,0,2],"EUtranCellFDD.pmRadioUeRepCqi2Subband1Sum":"2933","EUtranCellFDD.pmCellDownLockAuto":"0","EUtranCellFDD.pmRadioRecInterferencePwrPrb5":"4589506","EUtranCellFDD.pmRadioRecInterferencePwrPrb4":"3096742","EUtranCellFDD.pmRadioRecInterferencePwrPrb3":"1711150","EUtranCellFDD.pmRadioRecInterferencePwrPrb2":"4201523","EUtranCellFDD.pmRadioRecInterferencePwrPrb1":"7005382","EUtranCellFDD.pmRadioUeRepCqiSubband7Sum":"0","EUtranCellFDD.pmRadioRecInterferencePwrPrb9":"1649213","EUtranCellFDD.pmRadioRecInterferencePwrPrb8":"1392616","EUtranCellFDD.pmRadioRecInterferencePwrPrb7":"6562856","EUtranCellFDD.pmRadioRecInterferencePwrPrb6":"1546259","EUtranCellFDD.pmMacHarqDlNack16qam":"34","EUtranCellFDD.pmRrcConnReestSuccHo":"1","EUtranCellFDD.pmRrcConnEstabAttReattMos":"0","EUtranCellFDD.pmPucchCqiResMediumUtilCell":"0","EUtranCellFDD.pmPucchCqiResShortUtilCell":"1","EUtranCellFDD.pmPdcchCceAggregationDistr":[5162,1586,2944,122380],"EUtranCellFDD.pmLcgThpVolUlLcg":[0,37,784,0],"EUtranCellFDD.pmAnrNeighbrelAdd":"0","EUtranCellFDD.pmAdjustAccessDynLoadCtrlDistr":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"EUtranCellFDD.pmErabRelAbnormalEnbActTnFail":"0","EUtranCellFDD.pmFlexPdcpVolDlDrbLastTTIUe":[0,0,0],"EUtranCellFDD.pmRrcConnEstabAttReattMod":"0","EUtranCellFDD.pmPdcpPktDiscDlPelrUuQci":[0,3,0,0,0,0,0,0,0,107],"EUtranCellFDD.pmErabRelMmeActUserInactivity":"0","EUtranCellFDD.pmMacHarqDlNackQpsk":"1310","EUtranCellFDD.pmErabRelNormalEnbQci":[0,0,0,0,0,2,0,0,0,23],"EUtranCellFDD.pmCaCapableDlSum":[24,34,39,3,0],"EUtranCellFDD.pmUeThpTimeUl":"7327","EUtranCellFDD.pmRrcConnReconfSuccNoMobDlComp":"0","EUtranCellFDD.pmRrcConnEstabSuccMos":"20","EUtranCellFDD.pmUeCtxtRelAbnormalMmeAct":"0","EUtranCellFDD.pmPdcpBitrateUlDrbMax":"267","EUtranCellFDD.pmErabRelNormalEnbAct":"3","EUtranCellFDD.pmSchedActivityCellUl":"14454","EUtranCellFDD.pmMacHarqDlDtx16qam":"173","EUtranCellFDD.pmMeasRep":"524","EUtranCellFDD.pmPrbUsedDlSrbFirstTrans":"19059","EUtranCellFDD.pmRrcConnEstabSuccMod":"18","EUtranCellFDD.pmFlexErabEstabAttAddedGbr":[0,0,0]}}