hi all, i have this json, as an example, coming from telegraf to influxdb
{
"documents": {
"15037": {
"document": {
"entry": "01IT-796-2024.xml",
"fields": {
"eDocStatus": "RC",
"isFPA": false,
"eRemappedDocStatus": "SENT",
"docType": "invoices",
"idSDI": "12182393867"
},
"date": 1716484831
}
}
}
}
i can use transformation → extract fields if a put something like
documents.15037.document.entry
the problem is that 15037 is a progressive number so i need to put a wildcard like
documents.*.document
of course this is not working as “Field” does not seem to accept any kind of regex or wildcard
is there any solution/workaround?
thanks
Manuel
Grafana v10.2.3 / openSUSE Leap 15.4