Hi Team,
Can someone guide me how to fetch a word(highlighted ) from below logs
AccountMonthendReset - Total number of records reset after monthend:111439411
AccountBalanceMonthendSnapshot - Total number of records in Monthend Cache:111439411
MonthlyCollateralProcessor - compareCollateralStatsData :
statisticData: StatisticData [selectedDataSet=0, rejectedDataSet=0, totalOutputRecords=0, totalInputRecords=0, fileSequenceNum=0, fileHeaderBusDt=null, busD
t=10/31/2024, fileName=SETTLEMENT_MONTHEND_COLLATERAL_CONSUMER_CHARGE, totalAchCurrOutstBalAmt=4.57373200875E9, totalAchBalLastStmtAmt=4.57373200875E9, total
ClosingBal=4.57373200875E9, sourceName=null, version=1, associationStats={}]
with collateralSum 4.57373200875E9 openingBal 4.53003366393E9 ageBalTot 4.57373200875E9 busDt 10/31/2024
Can someone please guide how to fetch highlighted words
Try something like this
| rex "Total number of records[^:]+\s*(?<records>\d+)"
| rex "(?<closing>ClosingBal=[^,]+)"
| rex "(?<opening>openingBal\s\S+)"