-
What Grafana version and what operating system are you using? 8.1, Mac
-
What are you trying to achieve?
In my elasticsearch, I have documents stored in the following format
{
"start": 1656603585607,
"end": 1656613809357,
"result": false,
"testRuns": [
{
"testEnvironment": null,
"totalSkipped": 0,
"totalFailed": 0,
"totalCount": 172,
"totalPassed": 172,
"totalFlaky": 0,
"flakyTests": {},
"failingTests": [],
"passed": true,
"stopOnFail": true,
"name": "Smoke Tests"
},
{
"testEnvironment": "SDK Environment",
"totalSkipped": 7,
"totalFailed": 2,
"totalCount": 47,
"totalPassed": 40,
"totalFlaky": 3,
"flakyTests": {
"flaky1/": 1,
"flaky2/": 1,
"flaky3/": 1
},
"failingTests": [
"failed1/",
"failed2/"
],
"passed": false,
"stopOnFail": true,
"name": "Sanity"
}
]
}
In the grafana’s table view, the data in the testRuns column has all the data in the array. Is it possible to transform its data to just show the value in the flakyTests and failingTests fields?
I was trying to use the overwrite field → value mapping transform, but it doesn’t seem to transform the data.
Any input is greatly appreciated.