<AlarmStart>
IntVersion:4.0
MsgSerial:0
AlarmID:3956947379_4082834734_2286766950_2847449391
AlarmUniqueId:2986769422_2293840947_4023728972_4217611610
NeId:
NeName:4601HWCSANEL4d0b5b63bb61680d
NeAlias:
NeIp:
SystemName:AN-U2000-1-P
EquipmentClass:PTN
Vendor:
Version:
LocateNeName:4601HWCSANEL4d0b5b63bb61680d
LocateNeType:
LocateNeStatus:
LocateNeSubStatus:
LocateInfo:
EventTime:2020-07-21 16:35:34
CancelTime:
DalTime:1595320538
VendorAlarmType:communicationsAlarm
VendorSeverity:Minor
AlarmResourceStatus:
AlarmSeverity:
VendorAlarmId:1_13142
NmsAlarmId:
AlarmStatus:0
AckFlag:
AckTime:
AckUser:
AlarmTitle:
StandardAlarmName:
ProbableCauseTxt:\\(1)消息一.\\(2)消息二.
AlarmText:{"alarmSeq":558510226,"alarmTitle":"","alarmStatus":0,"alarmType":"communicationsAlarm","origSeverity":3,"eventTime":"2020-07-21 16:35:34","alarmId":"1160944451","specificProblemID":"1_13142","specificProblem":"\\(1)消息一.\\(2)消息二.","neUID":"4601HWCSANEL4d0b5b63bb61680d","neName":"","neType":"OptiX OSN 8800 T32","objectUID":"4601HWCSACTP1c51b0c606f0424f","objectName":"","objectType":"CTP","locationInfo":"","addInfo":"\n倒换请求:SF倒换;\n倒换请求:SF倒换,工作主备通道:备通道;","holderType":"","alarmCheck":"null","layer":8031}
Specialty:3
<AlarmEnd>
请问这样的数据该怎么解析比较好。数据是 mq 传过来,我记录在日志里面,生产 txt 或者 log 文件。
检索的时候,读取文件,想根据里面的关键字找到对应的完整数据。