Hi,
I have a compplex XML with information about phone network cells we need to parse. I managed to ingest the data using the xml and the split filter in order to have the desired information in separate documents into elastic. So far, so god
Now I have this problem. The documents contains a nested field called poc,mi like this:
{
"mt": [
"pmLossOfFrame",
"pmLossOfSignal",
"pmSfpTxPower",
"pmSfpRxPower",
"pmSfpTxBias",
"pmBitError"
],
"mv": {
"moid": [
" 1,1,1,1,1,F"
],
"r": [
"0",
"0",
"0",
"0",
"0",
"0,0,0,0,0,0"
]
}
}
I need to extract the mt value and the r values into arrays inside a ruby code.
I'have tried several ways but no luck
Thank you
Regards
Ana
