Parsing nested json array as a single line #1103
-
Hi there, I'm trying to use the infinity plugin to build a dashboard with a table panel containing the information returned by the Github REST API self hosted runners endpoint: https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#list-self-hosted-runners-for-an-organization The response is in the following format:
I can't get the right way, with the Default backend or the UQL one, to display the data in a table panel where the labels are expanded into a single row, only with the label name. I'd like to get the result in the following format:
I tried using JSONPath without success and with UQL I manage to expand the labels array into their own rows, but not all labels of given runner into a single row.
Is this possible to do? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@yesoreyeram Would you be able to help? |
Beta Was this translation helpful? Give feedback.
-
Have you tried backend parser with JSONata? Much easier to achieve what you trying. Give a try and let us know if you still struggle. ![]() |
Beta Was this translation helpful? Give feedback.
Have you tried backend parser with JSONata? Much easier to achieve what you trying. Give a try and let us know if you still struggle.