Hi all,
Is there any possible way to extract a json array as follow with filebeat ?
</>
{
"processingData" :
{
"tiffs" :
[
{
"tiffName" : "blabla",
"tiffHeight_mm" : 1,
"tiffWidth_mm" : 2,
"tiffArea_mm2" : 3,
"tiffPercentage" : 4,
"tiffResolution_dpi" : 5,
"isRotated" : false,
"isMirrored" : false,
"isFlatTop" : false,
"isHighQuality" : true,
"imagingMode" : "Standard"
},
{
"tiffName" : "blablabla",
"tiffHeight_mm" : 1,
"tiffWidth_mm" : 190,
"tiffArea_mm2" : 52497,
"tiffPercentage" : 2,
"tiffResolution_dpi" : 4000,
"isRotated" : false,
"isMirrored" : false,
"isFlatTop" : false,
"isHighQuality" : true,
"imagingMode" : "Standard"
},
{
"tiffName" : "blablablabla",
"tiffHeight_mm" : 1,
"tiffWidth_mm" : 2,
"tiffArea_mm2" : 3,
"tiffPercentage" : 4,
"tiffResolution_dpi" : 5,
"isRotated" : true,
"isMirrored" : false,
"isFlatTop" : false,
"isHighQuality" : true,
"imagingMode" : "Standard"
},
{
"tiffName" : "blablablablabla",
"tiffHeight_mm" : 0,
"tiffWidth_mm" : 1,
"tiffArea_mm2" : 2,
"tiffPercentage" : 3,
"tiffResolution_dpi" : 4,
"isRotated" : false,
"isMirrored" : false,
"isFlatTop" : false,
"isHighQuality" : true,
"imagingMode" : "Standard"
}
]
}
}
</>
I would like to have somthing like this.
processingData.tiffs.0.tiffName
processingData.tiffs.0.tiffHeight_mm
....
processingData.tiffs.1.tiffName
processingData.tiffs.1.tiffHeight_mm
....
processingData.tiffs.2.tiffName
processingData.tiffs.2.tiffHeight_mm
....
processingData.tiffs.3.tiffName
processingData.tiffs.3.tiffHeight_mm
....
Regards